/* ===============================================

   KNJIGA POSJETA - COMPLETE STYLES

   Apartmani Šimićev Guestbook with Admin Panel

   =============================================== */



/* Hero Section */

.guestbook-hero {
    padding: 120px 5% 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    /* NOVO - transparentniji gradient */
    background: linear-gradient(rgba(0, 30, 60, 0.8), rgba(0, 102, 204, 0.7)),
                url('../images/slides/slide-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


.guestbook-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Uklonite sve gradijente */
    animation: none; /* Uklonite animaciju */
    pointer-events: none;
    z-index: 1;
}

.guestbook-hero::after {

    content: '';

    position: absolute;

    bottom: -2px;

    left: 0;

    right: 0;

    height: 100px;

    background: linear-gradient(to bottom, 

        transparent 0%, 

        rgba(10, 15, 28, 0.5) 50%, 

        #0a0f1c 100%

    );

    pointer-events: none;

    z-index: 10;

}







@keyframes gentle-float {

    0%, 100% { transform: translateY(0) scale(1); }

    50% { transform: translateY(-20px) scale(1.05); }

}



.guestbook-intro {

    max-width: 800px;

    margin: 0 auto 3rem;

    position: relative;

    z-index: 1;

}

.guestbook-intro h1 {

    font-size: clamp(2.5rem, 5vw, 4rem);

    font-weight: 300;

    margin-bottom: 1.5rem;

    background: linear-gradient(45deg, #ffffff, #00a8ff, #ffd700);

    background-size: 300% 300%;

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: gradient-shift 4s ease-in-out infinite;

    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

}

/* JEDNOSTAVNE ANIMACIJE */

@keyframes simpleBubbles {

    0%, 100% { 

        background-position: 

            20% 80%, 80% 20%, 40% 40%, 

            60% 70%, 90% 60%, 10% 30%;

    }

    50% { 

        background-position: 

            25% 75%, 75% 25%, 45% 35%, 

            55% 75%, 85% 55%, 15% 35%;

    }

}



@keyframes gradient-shift {

    0% { background-position: 0% 50%; }

    50% { background-position: 100% 50%; }

    100% { background-position: 0% 50%; }

}



.guestbook-intro p {

    font-size: 1.2rem;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.95);

    margin-bottom: 2rem;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);

}



.guestbook-title {

    font-size: 3.5rem;

    font-weight: 300;

    margin-bottom: 1.5rem;

    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

    animation: fadeInUp 1s ease-out;

}



.guestbook-subtitle {

    font-size: 1.3rem;

    opacity: 0.9;

    line-height: 1.6;

    animation: fadeInUp 1s ease-out 0.3s both;

}



.guestbook-stats {

    display: flex;

    justify-content: center;

    gap: 3rem;

    margin-top: 3rem;

    animation: fadeInUp 1s ease-out 0.6s both;

}



.stat-item {

    text-align: center;

    transition: transform 0.3s ease;

}



.stat-item:hover {

    transform: translateY(-5px);

}



.stat-number {

    font-size: 2.5rem;

    font-weight: bold;

    color: #00a8ff;

    display: block;

    text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);

    animation: pulse-glow 3s ease-in-out infinite;

}



.stat-label {

    font-size: 1rem;

    opacity: 0.8;

    margin-top: 0.5rem;

}



@keyframes pulse-glow {

    0%, 100% { text-shadow: 0 0 20px rgba(0, 168, 255, 0.5); }

    50% { text-shadow: 0 0 30px rgba(0, 168, 255, 0.8); }

}



/* Main Container */

.guestbook-container {
    width: 80%;
    max-width: 1600px; /* Sprječava previše širenje na 4K ekranima */
    margin: 0 auto;
    padding: 80px 2% 0; /* Smanjeni padding */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Responsive prilagodbe */
@media (max-width: 1200px) {
    .guestbook-container {
        width: 85%;
    }
}

@media (max-width: 1024px) {
    .guestbook-container {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .guestbook-container {
        width: 95%;
        padding: 60px 2% 0;
        gap: 2rem;
    }
}



/* Form Section */

.form-section {

    background: rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 20px;

    padding: 3rem;

    position: sticky;

    top: 100px;

    transition: all 0.3s ease;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

}



.form-section:hover {

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(0, 168, 255, 0.3);

    box-shadow: 0 25px 50px rgba(0, 168, 255, 0.2);

}



.form-header {

    text-align: left;

    margin-bottom: 2.5rem;

}



.form-header h2 {

    font-size: 2rem;

    color: #fff;

    margin-bottom: 0.5rem;

    font-weight: 300;

}



.form-header p {

    color: rgba(255, 255, 255, 0.7);

    font-size: 1.1rem;

}



/* Form Styling */

.guestbook-form {

    color: #fff;

}



.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1.5rem;

    margin-bottom: 1.5rem;

}



.form-group {

    margin-bottom: 1.5rem;

    position: relative;

}



.form-group label {

    display: block;

    font-weight: 500;

    margin-bottom: 0.5rem;

    color: rgba(255, 255, 255, 0.9);

    font-size: 0.95rem;

}



.form-group input,

.form-group select,

.form-group textarea {

    width: 100%;

    padding: 12px 16px;

    background: rgba(255, 255, 255, 0.08);

    border: 2px solid rgba(255, 255, 255, 0.15);

    border-radius: 12px;

    color: #fff;

    font-size: 1rem;

    transition: all 0.3s ease;

    backdrop-filter: blur(5px);

    box-sizing: border-box;

}



.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    outline: none;

    border-color: #00a8ff;

    background: rgba(255, 255, 255, 0.12);

    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.2);

    transform: translateY(-2px);

}



.form-group input::placeholder,

.form-group textarea::placeholder {

    color: rgba(255, 255, 255, 0.5);

}



.form-group select option {

    background: #001e3c;

    color: #fff;

}



/* Floating Admin Button */

.floating-admin {

    position: fixed;

    bottom: 30px;

    right: 30px;

    z-index: 999;

}



.floating-admin-btn {

    background: linear-gradient(135deg, #00a8ff 0%, #0066cc 100%);

    color: white;

    border: none;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.4);

    backdrop-filter: blur(10px);

}



.floating-admin-btn:hover {

    transform: translateY(-3px) scale(1.1);

    box-shadow: 0 8px 30px rgba(0, 168, 255, 0.6);

    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);

}



.floating-admin-btn:active {

    transform: translateY(-1px) scale(1.05);

}



.floating-admin-btn svg {

    width: 24px;

    height: 24px;

    transition: transform 0.3s ease;

}



.floating-admin-btn:hover svg {

    transform: rotate(90deg);

}



/* Admin Button in Navigation - Remove */

/* Rating System */

.rating-group {

    text-align: center;

    padding: 1rem 0;

}



.star-rating {

    display: flex;

    justify-content: center;

    gap: 0.5rem;

    margin: 1rem 0;

}



.star {

    font-size: 2rem;

    cursor: pointer;

    transition: all 0.3s ease;

    opacity: 0.3;

    filter: grayscale(100%);

    transform: scale(1);

    user-select: none;

    border-radius: 4px;

    padding: 4px;

}



.star:hover,

.star.active {

    opacity: 1;

    filter: grayscale(0%);

    transform: scale(1.2);

    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);

}



.star.active {

    animation: star-sparkle 0.6s ease;

}



@keyframes star-sparkle {

    0%, 100% { transform: scale(1.2); }

    50% { transform: scale(1.4) rotate(10deg); }

}



.rating-text {

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;

    display: block;

    margin-top: 0.5rem;

    min-height: 1.2rem;

}



/* Character Counter */

.char-counter {

    text-align: right;

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.6);

    margin-top: 0.5rem;

}



.char-counter.warning {

    color: #ff9800;

}



.char-counter.danger {

    color: #f44336;

}



/* Checkbox Styling */

.checkbox-group {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1rem 0;

}



.checkbox-label {

    display: flex;

    align-items: center;

    gap: 0.8rem;

    cursor: pointer;

    font-size: 1rem;

    color: rgba(255, 255, 255, 0.9);

    transition: color 0.3s ease;

}



.checkbox-label:hover {

    color: #00a8ff;

}



.checkbox-label input[type="checkbox"] {

    display: none;

}



.checkmark {

    width: 24px;

    height: 24px;

    background: rgba(255, 255, 255, 0.1);

    border: 2px solid rgba(255, 255, 255, 0.3);

    border-radius: 6px;

    position: relative;

    transition: all 0.3s ease;

    flex-shrink: 0;

}



.checkbox-label input[type="checkbox"]:checked + .checkmark {

    background: #00a8ff;

    border-color: #00a8ff;

    transform: scale(1.1);

}



.checkbox-label input[type="checkbox"]:checked + .checkmark::after {

    content: '✓';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    color: white;

    font-weight: bold;

    font-size: 14px;

}



/* reCAPTCHA Container */

.recaptcha-group {

    display: flex;

    justify-content: center;

    margin: 2rem 0;

}



.g-recaptcha {

    transform: scale(0.9);

    transform-origin: center;

}



/* Submit Button */

.form-actions {

    text-align: center;

    margin-top: 2rem;

}



.submit-btn {

    background: linear-gradient(135deg, #00a8ff 0%, #0066cc 100%);

    color: white;

    border: none;

    padding: 15px 40px;

    border-radius: 30px;

    font-size: 1.1rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    display: inline-flex;

    align-items: center;

    gap: 0.8rem;

    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);

    position: relative;

    overflow: hidden;

    min-width: 180px;

    justify-content: center;

}



.submit-btn::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    background: rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    transition: all 0.6s ease;

}



.submit-btn:hover::before {

    width: 300px;

    height: 300px;

}



.submit-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.4);

}



.submit-btn:active {

    transform: translateY(-1px);

}



.submit-btn:disabled {

    background: rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.5);

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}



.btn-icon {

    transition: transform 0.3s ease;

}



.submit-btn:hover .btn-icon {

    transform: translateX(5px);

}



/* Error Messages */

.error-message {

    color: #ff4757;

    font-size: 0.85rem;

    margin-top: 0.5rem;

    display: block;

    opacity: 0;

    transform: translateY(-10px);

    transition: all 0.3s ease;

}



.error-message.show {

    opacity: 1;

    transform: translateY(0);

}



/* Form validation styling */

.form-group.error input,

.form-group.error select,

.form-group.error textarea {

    border-color: #ff4757;

    background: rgba(255, 71, 87, 0.1);

}



.form-group.success input,

.form-group.success select,

.form-group.success textarea {

    border-color: #4CAF50;

    background: rgba(76, 175, 80, 0.1);

}



/* Loading state */

.loading .submit-btn {

    position: relative;

}



.loading .submit-btn::after {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 20px;

    height: 20px;

    border: 2px solid transparent;

    border-top-color: #ffffff;

    border-radius: 50%;

    animation: spin 1s linear infinite;

    transform: translate(-50%, -50%);

}



.loading .btn-text {

    opacity: 0;

}



@keyframes spin {

    to { transform: translate(-50%, -50%) rotate(360deg); }

}



/* Entries Section */

.entries-section {

    color: #fff;

}



.entries-header {
max-width: 1600px; /* Sprječava previše širenje na 4K ekranima */
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 2rem;

    flex-wrap: wrap;

    gap: 1rem;

}



.entries-header h2 {

    font-size: 2rem;

    font-weight: 300;

    color: #fff;

}



.filter-controls {

    display: flex;

    gap: 1rem;

    align-items: center;

}



.filter-select {

    padding: 8px 16px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 20px;

    color: #fff;

    font-size: 0.9rem;

    cursor: pointer;

    transition: all 0.3s ease;

}



.filter-select:focus {

    outline: none;

    border-color: #00a8ff;

    background: rgba(255, 255, 255, 0.15);

}



.filter-select option {

    background: #001e3c;

    color: #fff;

}



/* Entry Cards */

.entries-list {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}



.entry-card {

    background: rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    padding: 2rem;

    transition: all 0.3s ease;

    opacity: 1;

    transform: translateY(0);

}



.entry-card:hover {

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(0, 168, 255, 0.3);

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2);

}



.entry-card.hidden {

    opacity: 0;

    transform: translateY(20px);

    pointer-events: none;

}



.entry-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 1rem;

}



.entry-author {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.author-avatar {

    width: 50px;

    height: 50px;

    background: linear-gradient(135deg, #00a8ff, #0066cc);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-weight: bold;

    font-size: 1.2rem;

    text-transform: uppercase;

    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);

    flex-shrink: 0;

}



.author-info h4 {

    margin: 0;

    font-size: 1.1rem;

    font-weight: 600;

    color: #fff;

}



.author-meta {

    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.6);

    margin-top: 0.2rem;

}



.entry-rating .stars {

    font-size: 1.2rem;

    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));

}



.entry-content {

    margin: 1.5rem 0;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.9);

    font-size: 1rem;

}



.entry-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;

    padding-top: 1rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.recommend-badge,

.apartment-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.5rem 1rem;

    border-radius: 20px;

    font-size: 0.85rem;

    font-weight: 500;

}



.recommend-badge {

    background: rgba(76, 175, 80, 0.2);

    color: #4CAF50;

    border: 1px solid rgba(76, 175, 80, 0.3);

}



.apartment-badge {

    background: rgba(0, 168, 255, 0.2);

    color: #00a8ff;

    border: 1px solid rgba(0, 168, 255, 0.3);

}



/* Osnovni pagination container */
.pagination-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* KOMPAKTNI PAGINATION CONTROLS - JEDAN RED */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Smanjeni gap */
    flex-wrap: nowrap; /* Sprječava prelom u novi red */
    width: 100%;
    max-width: 500px; /* Ograniči širinu */
}

/* Kompaktniji page gumbovi */
.page-btn {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 6px 12px; /* Smanjeni padding */
    border-radius: 20px;
    font-size: 0.8rem; /* Manji font */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem; /* Manji gap između ikone i teksta */
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: auto; /* Ukloni min-width */
    white-space: nowrap; /* Sprječava prelom teksta */
}

.page-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.page-btn svg {
    width: 14px; /* Manje ikone */
    height: 14px;
}

/* Kompaktniji page numbers */
.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.3rem; /* Manji gap */
}

.page-number {
    width: 32px; /* Manji */
    height: 32px; /* Manji */
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem; /* Manji font */
    font-weight: 600;
}

.page-number:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.page-number.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 12px rgba(0, 168, 255, 0.5);
}

.page-dots {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    padding: 0 0.2rem;
}

/* Pagination info - kompaktniji */
.pagination-info {
    color: var(--text-muted);
    font-size: 0.85rem; /* Manji font */
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.5rem; /* Manji margin */
}

/* MOBILE OPTIMIZACIJA */
@media (max-width: 768px) {
    .pagination-controls {
        gap: 0.3rem;
        max-width: 100%;
    }
    
    .page-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
        gap: 0.2rem;
    }
    
    .page-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .page-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    /* Kratki tekst za mobile */
    .page-btn .btn-text-full {
        display: none;
    }
    
    .page-btn .btn-text-short {
        display: inline;
    }
}

@media (min-width: 769px) {
    .page-btn .btn-text-full {
        display: inline;
    }
    
    .page-btn .btn-text-short {
        display: none;
    }
}

/* ULTRA KOMPAKTNA VARIJANTA */
.pagination-controls.ultra-compact {
    gap: 0.2rem;
}

.pagination-controls.ultra-compact .page-btn {
    padding: 4px 6px;
    font-size: 0.7rem;
    border-radius: 15px;
}

.pagination-controls.ultra-compact .page-number {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
}

/* JEDNA LINIJA LAYOUT */
.pagination-container.one-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.pagination-container.one-line .pagination-info {
    margin: 0;
    min-width: 120px;
    text-align: left;
}

.pagination-container.one-line .pagination-controls {
    flex: 1;
    justify-content: center;
    max-width: none;
}

@media (max-width: 600px) {
    .pagination-container.one-line {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .pagination-container.one-line .pagination-info {
        text-align: center;
    }
}

/* SPECIFIČNE OPTIMIZACIJE ZA VAŠE GUMBOVE */
#prevPage, #nextPage {
    min-width: 80px; /* Manji min-width */
}

/* Hover animacije - smanjena */
.page-btn:hover {
    transform: translateY(-1px); /* Manja elevacija */
}

.page-number:hover {
    transform: scale(1.05); /* Manji scale */
}

/* Focus states */
.page-btn:focus,
.page-number:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 1px; /* Manji offset */
}


/* Admin Panel */

.admin-panel {

    background: #001a2e;

    border-top: 3px solid #00a8ff;

    padding: 0;

    margin-top: 4rem;

    display: none;

    opacity: 0;

    transition: all 0.5s ease;

}



.admin-panel.show {

    display: block;

    opacity: 1;

}



.admin-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 3rem 5%;

}



.admin-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 2rem;

    flex-wrap: wrap;

    gap: 1rem;

}



.admin-header h2 {

    font-size: 1.8rem;

    color: #00a8ff;

    font-weight: 300;

    margin: 0;

}



.admin-stats {

    display: flex;

    gap: 2rem;

    flex-wrap: wrap;

}



.admin-stat {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0.5rem;

}



.admin-stat .stat-label {

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.6);

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



.admin-stat .stat-value {

    font-size: 1.5rem;

    font-weight: bold;

    color: #fff;

}



.admin-stat .stat-value.pending {

    color: #ff9800;

}



.admin-stat .stat-value.approved {

    color: #4CAF50;

}



.admin-close {

    background: transparent;

    border: none;

    color: rgba(255, 255, 255, 0.6);

    cursor: pointer;

    padding: 8px;

    border-radius: 50%;

    transition: all 0.3s ease;

}



.admin-close:hover {

    background: rgba(255, 255, 255, 0.1);

    color: #fff;

}



.admin-filters {

    display: flex;

    gap: 1rem;

    margin-bottom: 2rem;

    flex-wrap: wrap;

    align-items: center;

}



.admin-filter,

.admin-search {

    padding: 10px 16px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 8px;

    color: #fff;

    font-size: 0.9rem;

    transition: all 0.3s ease;

}



.admin-filter:focus,

.admin-search:focus {

    outline: none;

    border-color: #00a8ff;

    background: rgba(255, 255, 255, 0.12);

}



.admin-search {

    flex: 1;

    min-width: 250px;

}



.admin-search::placeholder {

    color: rgba(255, 255, 255, 0.5);

}



.admin-action-btn {

    background: #00a8ff;

    color: white;

    border: none;

    padding: 10px 20px;

    border-radius: 8px;

    font-size: 0.9rem;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.admin-action-btn:hover {

    background: #0066cc;

    transform: translateY(-2px);

}



.export-btn {

    background: #4CAF50;

}



.export-btn:hover {

    background: #45a049;

}



/* Admin Entries */

.admin-entries {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    margin-bottom: 2rem;

}



.admin-entry {

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 12px;

    padding: 1.5rem;

    transition: all 0.3s ease;

}



.admin-entry:hover {

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(0, 168, 255, 0.3);

}



.admin-entry.pending {

    border-left: 4px solid #ff9800;

}



.admin-entry.approved {

    border-left: 4px solid #4CAF50;

}



.admin-entry.rejected {

    border-left: 4px solid #f44336;

    opacity: 0.7;

}



.admin-entry-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 1rem;

    flex-wrap: wrap;

    gap: 1rem;

}



.admin-entry-info {

    flex: 1;

}



.admin-entry-info h4 {

    color: #fff;

    margin: 0 0 0.5rem 0;

    font-size: 1.1rem;

}



.admin-entry-meta {

    display: flex;

    gap: 1rem;

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.6);

    flex-wrap: wrap;

}



.admin-entry-actions {

    display: flex;

    gap: 0.5rem;

    flex-wrap: wrap;

}



.admin-entry-btn {

    padding: 6px 12px;

    border: none;

    border-radius: 6px;

    font-size: 0.8rem;

    cursor: pointer;

    transition: all 0.3s ease;

    display: inline-flex;

    align-items: center;

    gap: 0.3rem;

}



.approve-btn {

    background: #4CAF50;

    color: white;

}



.approve-btn:hover {

    background: #45a049;

}



.reject-btn {

    background: #f44336;

    color: white;

}



.reject-btn:hover {

    background: #da190b;

}



.edit-btn {

    background: #ff9800;

    color: white;

}



.edit-btn:hover {

    background: #f57c00;

}



.delete-btn {

    background: #9e9e9e;

    color: white;

}



.delete-btn:hover {

    background: #757575;

}



.info-btn {

    background: #2196F3;

    color: white;

}



.info-btn:hover {

    background: #1976D2;

}



.admin-entry-content {

    background: rgba(0, 0, 0, 0.2);

    padding: 1rem;

    border-radius: 8px;

    margin-bottom: 1rem;

}



.admin-entry-rating {

    font-size: 1.1rem;

    margin-bottom: 0.5rem;

}



.admin-entry-message {

    color: rgba(255, 255, 255, 0.9);

    line-height: 1.6;

}



/* Status badges in admin */

.status-badge {

    padding: 2px 8px;

    border-radius: 12px;

    font-size: 0.75rem;

    font-weight: 500;

}



.status-pending {

    background: rgba(255, 152, 0, 0.2);

    color: #ff9800;

}



.status-approved {

    background: rgba(76, 175, 80, 0.2);

    color: #4CAF50;

}



.status-rejected {

    background: rgba(244, 67, 54, 0.2);

    color: #f44336;

}



/* Admin Pagination */

.admin-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 2rem;

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.admin-page-btn {

    background: transparent;

    color: #00a8ff;

    border: 1px solid #00a8ff;

    padding: 8px 16px;

    border-radius: 6px;

    cursor: pointer;

    transition: all 0.3s ease;

}



.admin-page-btn:hover:not(:disabled) {

    background: rgba(0, 168, 255, 0.1);

}



.admin-page-btn:disabled {

    opacity: 0.5;

    cursor: not-allowed;

}



.admin-page-info {

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;

}



/* Success Modal */

.modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.8);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10000;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

    backdrop-filter: blur(5px);

}



.modal-overlay.show {

    opacity: 1;

    visibility: visible;

}



.modal {

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(20px);

    border-radius: 20px;

    padding: 3rem;

    text-align: center;

    max-width: 400px;

    width: 90%;

    transform: scale(0.7);

    transition: transform 0.3s ease;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

}



.modal-overlay.show .modal {

    transform: scale(1);

}



.modal-content {

    position: relative;

}



.success-icon {

    margin-bottom: 1.5rem;

}



.modal h3 {

    font-size: 1.8rem;

    color: #333;

    margin-bottom: 1rem;

    font-weight: 300;

}



.modal p {

    color: #666;

    font-size: 1.1rem;

    margin-bottom: 2rem;

    line-height: 1.6;

}



.modal-btn {

    background: #4CAF50;

    color: white;

    border: none;

    padding: 12px 30px;

    border-radius: 25px;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

}



.modal-btn:hover {

    background: #45a049;

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);

}



/* Animations */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes slideInLeft {

    from {

        opacity: 0;

        transform: translateX(-30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



/* Loading States */

.loading {

    opacity: 0.7;

    pointer-events: none;

}



/* Accessibility improvements */

.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    outline: 2px solid #00a8ff;

    outline-offset: 2px;

}



.star:focus {

    outline: 2px solid #00a8ff;

    outline-offset: 4px;

    border-radius: 4px;

}



/* Responsive Design */

@media (max-width: 1024px) {

    .guestbook-container {

        grid-template-columns: 1fr;

        gap: 3rem;

    }

    

    .form-section {

        position: static;

    }

    

    .guestbook-stats {

        gap: 2rem;

    }

    

    .stat-number {

        font-size: 2rem;

    }

    

    .admin-filters {

        flex-direction: column;

        align-items: stretch;

    }

    

    .admin-search {

        min-width: auto;

    }

}



@media (max-width: 768px) {

    .guestbook-title {

        font-size: 2.5rem;

    }

    

    .guestbook-subtitle {

        font-size: 1.1rem;

    }

    

    .guestbook-stats {

        flex-direction: column;

        gap: 1.5rem;

        text-align: center;

    }

    

    .guestbook-container {

        padding: 60px 5% 0;

        gap: 2rem;

    }

    

    .form-section {

        padding: 2rem;

    }

    

    .form-row {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .entries-header {

        flex-direction: column;

        align-items: stretch;

        text-align: center;

    }

    

    .entry-header {

        flex-direction: column;

        gap: 1rem;

        text-align: center;

    }

    

    .entry-footer {

        justify-content: center;

        text-align: center;

    }

    

    .star-rating {

        gap: 0.3rem;

    }

    

    .star {

        font-size: 1.5rem;

    }

    

    .g-recaptcha {

        transform: scale(0.8);

    }

    

    /* Admin responsive */

    .admin-header {

        flex-direction: column;

        text-align: center;

    }

    

    .admin-stats {

        justify-content: center;

    }

    

    .admin-entry-header {

        flex-direction: column;

        align-items: stretch;

    }

    

    .admin-entry-actions {

        justify-content: center;

    }

    

    .pagination-controls {

        flex-direction: column;

        gap: 1rem;

    }

    

    .page-numbers {

        order: -1;

    }

    

    .admin-pagination {

        flex-direction: column;

        gap: 1rem;

    }

    

    .floating-admin {

        bottom: 20px;

        right: 20px;

    }

    

    .floating-admin-btn {

        width: 50px;

        height: 50px;

    }

    

    .floating-admin-btn svg {

        width: 20px;

        height: 20px;

    }

}



@media (max-width: 480px) {

    .guestbook-hero {

        padding: 100px 0 60px;

    }

    

    .guestbook-title {

        font-size: 2rem;

    }

    

    .guestbook-intro {

        padding: 0 1rem;

    }

    

    .form-section {

        padding: 1.5rem;

    }

    

    .entry-card {

        padding: 1.5rem;

    }

    

    .author-avatar {

        width: 40px;

        height: 40px;

        font-size: 1rem;

    }

    

    .modal {

        padding: 2rem;

        margin: 1rem;

    }

    

    .g-recaptcha {

        transform: scale(0.7);

    }

    

    .submit-btn {

        padding: 12px 30px;

        font-size: 1rem;

    }

}



/* Print styles */

@media print {

    .form-section,

    .filter-controls,

    .pagination-container,

    .admin-panel {

        display: none;

    }

    

    .guestbook-container {

        grid-template-columns: 1fr;

    }

    

    .entry-card {

        break-inside: avoid;

        margin-bottom: 1rem;

        background: white !important;

        color: black !important;

        border: 1px solid #ccc !important;

    }

}



/* High contrast mode support */

@media (prefers-contrast: high) {

    .form-group input,

    .form-group select,

    .form-group textarea {

        border-width: 3px;

    }

    

    .star {

        border: 2px solid transparent;

    }

    

    .star.active {

        border-color: #ffff00;

    }

}



/* Reduced motion support */

@media (prefers-reduced-motion: reduce) {

    * {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

    

    .star:hover,

    .star.active {

        transform: scale(1);

    }

    

    .submit-btn:hover {

        transform: none;

    }

}



/* Dark theme enhancements */

@media (prefers-color-scheme: dark) {

    .modal {

        background: rgba(30, 30, 30, 0.95);

        color: #fff;

    }

    

    .modal h3 {

        color: #fff;

    }

    

    .modal p {

        color: rgba(255, 255, 255, 0.8);

    }

}

/* Floating Admin Button - Diskretan */

.floating-admin {

    position: fixed;

    bottom: 25px;

    right: 25px;

    z-index: 998;

    opacity: 0.15;

    transition: opacity 0.4s ease, transform 0.3s ease;

}



.floating-admin:hover {

    opacity: 0.9;

    transform: translateY(-3px);

}



.floating-admin-btn {

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(15px);

    color: rgba(255, 255, 255, 0.5);

    border: 1px solid rgba(255, 255, 255, 0.1);

    width: 42px;

    height: 42px;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.4s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

}



.floating-admin-btn:hover {

    background: rgba(0, 168, 255, 0.15);

    color: #00a8ff;

    border-color: rgba(0, 168, 255, 0.25);

    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.15);

    transform: scale(1.1);

}



.floating-admin-btn svg {

    width: 16px;

    height: 16px;

    transition: transform 0.3s ease;

}



.floating-admin-btn:hover svg {

    transform: rotate(90deg);

}



/* Tooltip */

.floating-admin-btn::after {

    content: 'Admin';

    position: absolute;

    right: calc(100% + 10px);

    top: 50%;

    transform: translateY(-50%);

    background: rgba(0, 0, 0, 0.8);

    color: white;

    padding: 4px 8px;

    border-radius: 4px;

    font-size: 0.75rem;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.floating-admin-btn:hover::after {

    opacity: 1;

}



/* Mobile responsive */

@media (max-width: 768px) {

    .floating-admin {

        bottom: 20px;

        right: 20px;

        opacity: 0.1;

    }

    

    .floating-admin-btn {

        width: 38px;

        height: 38px;

    }

}



.recommend-text {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.recommend-icon {

    color: #00a8ff;

    transition: all 0.3s ease;

    flex-shrink: 0;

}



.checkbox-label input[type="checkbox"]:checked + .checkmark + .recommend-text .recommend-icon {

    color: #4CAF50;

    transform: scale(1.1);

}



.checkbox-label:hover .recommend-icon {

    color: #4CAF50;

    transform: translateY(-1px);

}



/* Enhanced checkbox styling */

.checkbox-group {

    margin: 1.5rem 0;

}



.checkbox-label {

    display: flex;

    align-items: flex-start;

    cursor: pointer;

    font-size: 1rem;

    font-weight: 500;

    color: rgba(255, 255, 255, 0.9);

    line-height: 1.5;

    transition: all 0.3s ease;

    padding: 1rem;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

}



.checkbox-label:hover {

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(0, 168, 255, 0.3);

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.1);

}



.checkbox-label input[type="checkbox"] {

    position: absolute;

    opacity: 0;

    cursor: pointer;

}



.checkmark {

    height: 22px;

    width: 22px;

    background: rgba(255, 255, 255, 0.1);

    border: 2px solid rgba(255, 255, 255, 0.3);

    border-radius: 6px;

    margin-right: 1rem;

    position: relative;

    transition: all 0.3s ease;

    flex-shrink: 0;

    margin-top: 2px;

}



.checkbox-label:hover .checkmark {

    background: rgba(0, 168, 255, 0.1);

    border-color: #00a8ff;

    transform: scale(1.05);

}



.checkbox-label input[type="checkbox"]:checked + .checkmark {

    background: linear-gradient(135deg, #4CAF50, #45a049);

    border-color: #4CAF50;

    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);

}



.checkmark:after {

    content: "";

    position: absolute;

    display: none;

    left: 6px;

    top: 2px;

    width: 6px;

    height: 12px;

    border: solid white;

    border-width: 0 3px 3px 0;

    transform: rotate(45deg);

}



.checkbox-label input[type="checkbox"]:checked + .checkmark:after {

    display: block;

    animation: checkmark 0.3s ease-in-out;

}



@keyframes checkmark {

    0% {

        transform: rotate(45deg) scale(0);

        opacity: 0;

    }

    50% {

        transform: rotate(45deg) scale(1.2);

        opacity: 1;

    }

    100% {

        transform: rotate(45deg) scale(1);

        opacity: 1;

    }

}



/* Responsive */

@media (max-width: 768px) {

    .checkbox-label {

        padding: 0.8rem;

        font-size: 0.9rem;

    }

    

    .recommend-icon {

        width: 18px;

        height: 18px;

    }

    

    .checkmark {

        width: 20px;

        height: 20px;

        margin-right: 0.8rem;

    }

}



        /* Enhanced moderation notice styles */

        .moderation-notice {

            display: flex;

            align-items: center;

            background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(0, 168, 255, 0.05));

            border: 1px solid rgba(0, 168, 255, 0.2);

            border-radius: 12px;

            padding: 1rem;

            margin: 1.5rem 0;

            transition: all 0.3s ease;

        }



        .moderation-notice:hover {

            background: linear-gradient(135deg, rgba(0, 168, 255, 0.15), rgba(0, 168, 255, 0.08));

        }



        .notice-icon {

            font-size: 1.5rem;

            margin-right: 1rem;

            flex-shrink: 0;

            animation: pulse 2s infinite;

        }



        .notice-content {

            flex: 1;

        }



        .notice-content strong {

            color: #00a8ff;

            display: block;

            margin-bottom: 0.25rem;

        }



        .notice-content p {

            margin: 0;

            font-size: 0.9rem;

            color: rgba(255, 255, 255, 0.8);

            line-height: 1.4;

        }



        /* Enhanced entries info styles */

        .entries-info {

            display: flex;

            gap: 2rem;

            margin-bottom: 1rem;

            flex-wrap: wrap;

        }



        .info-item {

            display: flex;

            align-items: center;

            font-size: 0.9rem;

            color: rgba(255, 255, 255, 0.8);

            padding: 0.5rem 1rem;

            background: rgba(255, 255, 255, 0.1);

            border-radius: 20px;

            transition: all 0.3s ease;

        }



        .info-item:hover {

            background: rgba(255, 255, 255, 0.15);

            transform: translateY(-2px);

        }



        .info-icon {

            margin-right: 0.5rem;

            font-size: 1rem;

        }



        /* Enhanced admin stats with pending highlight and additional metrics */

        .admin-stats {

            display: grid;

            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

            gap: 1rem;

            margin-bottom: 2rem;

        }



        .admin-stat {

            background: linear-gradient(135deg, #667eea, #764ba2);

            padding: 1.5rem;

            border-radius: 12px;

            text-align: center;

            color: white;

            transition: all 0.3s ease;

            position: relative;

            overflow: hidden;

        }



        .admin-stat:hover {

            transform: translateY(-5px);

            box-shadow: 0 10px 30px rgba(0,0,0,0.3);

        }



        .admin-stat.pending {

            background: linear-gradient(135deg, #ff6b6b, #ee5a24);

            position: relative;

            overflow: hidden;

        }



        .admin-stat.pending::after {

            content: '!';

            position: absolute;

            top: 0.5rem;

            right: 0.5rem;

            background: #fff;

            color: #ff6b6b;

            width: 20px;

            height: 20px;

            border-radius: 50%;

            display: flex;

            align-items: center;

            justify-content: center;

            font-weight: bold;

            font-size: 0.8rem;

            animation: bounce 1s infinite;

        }



        .admin-stat.pending::before {

            content: '';

            position: absolute;

            top: 0;

            left: -100%;

            width: 100%;

            height: 100%;

            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);

            animation: shimmer 2s infinite;

        }



        @keyframes bounce {

            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }

            40% { transform: translateY(-3px); }

            60% { transform: translateY(-2px); }

        }



        @keyframes pulse {

            0% { opacity: 1; }

            50% { opacity: 0.7; }

            100% { opacity: 1; }

        }



        @keyframes shimmer {

            0% { left: -100%; }

            100% { left: 100%; }

        }



        .stat-label {

            display: block;

            font-size: 0.9rem;

            opacity: 0.9;

            margin-bottom: 0.5rem;

        }



        .stat-value {

            display: block;

            font-size: 2rem;

            font-weight: bold;

            margin-bottom: 0.5rem;

        }



        .stat-value.approved {

            color: #4CAF50;

        }



        .stat-value.rejected {

            color: #f44336;

        }



        /* Enhanced admin entry styles with IP display */

        .admin-entry {

            background: rgba(255, 255, 255, 0.1);

            margin-bottom: 1rem;

            border-radius: 12px;

            padding: 1.5rem;

            border: 1px solid rgba(255, 255, 255, 0.1);

            transition: all 0.3s ease;

        }



        .admin-entry:hover {

            background: rgba(255, 255, 255, 0.15);

            transform: translateY(-2px);

            box-shadow: 0 10px 30px rgba(0,0,0,0.2);

        }



        .admin-entry.pending {

            border-left: 5px solid #ff6b6b;

            background: rgba(255, 107, 107, 0.1);

        }



        .admin-entry.approved {

            border-left: 5px solid #4CAF50;

            background: rgba(76, 175, 80, 0.1);

        }



        .admin-entry.rejected {

            border-left: 5px solid #f44336;

            background: rgba(244, 67, 54, 0.1);

            opacity: 0.7;

        }



        .admin-entry-header {

            display: flex;

            justify-content: space-between;

            align-items: flex-start;

            margin-bottom: 1rem;

        }



        .admin-entry-info h4 {

            margin: 0 0 0.5rem 0;

            color: #fff;

            font-size: 1.2rem;

        }



        .admin-entry-meta {

            display: flex;

            flex-wrap: wrap;

            gap: 1rem;

            font-size: 0.85rem;

            color: rgba(255, 255, 255, 0.8);

        }



        .admin-entry-meta span {

            display: flex;

            align-items: center;

            background: rgba(0, 0, 0, 0.2);

            padding: 0.25rem 0.5rem;

            border-radius: 15px;

            white-space: nowrap;

        }



        /* Enhanced IP display with security indicators */

        .ip-display {

            position: relative;

        }



        .ip-address {

            cursor: pointer;

            transition: all 0.3s ease;

            font-family: 'Courier New', monospace;

            font-weight: bold;

        }



        .ip-address:hover {

            background: rgba(255, 255, 255, 0.2);

            padding: 0.2rem 0.4rem;

            border-radius: 4px;

        }



        .local-ip-indicator,

        .ipv6-indicator {

            margin-left: 0.5rem;

            font-size: 0.8rem;

            padding: 0.1rem 0.3rem;

            border-radius: 10px;

            background: rgba(255, 255, 255, 0.2);

        }



        .local-ip-indicator {

            color: #ff9800;

            title: "Lokalna IP adresa";

        }



        .ipv6-indicator {

            color: #9c27b0;

            title: "IPv6 adresa";

        }



        .status-badge {

            padding: 0.3rem 0.8rem;

            border-radius: 15px;

            font-weight: bold;

            font-size: 0.8rem;

        }



        .status-badge.status-pending {

            background: #ff6b6b;

            color: white;

            animation: pulse 2s infinite;

        }



        .status-badge.status-approved {

            background: #4CAF50;

            color: white;

        }



        .status-badge.status-rejected {

            background: #f44336;

            color: white;

        }



        .admin-entry-actions {

            display: flex;

            gap: 0.5rem;

            flex-wrap: wrap;

        }



        .admin-entry-btn {

            padding: 0.5rem 1rem;

            border: none;

            border-radius: 6px;

            cursor: pointer;

            font-size: 0.8rem;

            font-weight: bold;

            display: flex;

            align-items: center;

            gap: 0.3rem;

            transition: all 0.3s ease;

            text-transform: uppercase;

        }



        .admin-entry-btn:hover {

            transform: translateY(-2px);

            box-shadow: 0 5px 15px rgba(0,0,0,0.3);

        }



        .approve-btn {

            background: linear-gradient(135deg, #4CAF50, #45a049);

            color: white;

        }



        .approve-btn:hover {

            background: linear-gradient(135deg, #45a049, #3d8b40);

        }



        .reject-btn {

            background: linear-gradient(135deg, #f44336, #da190b);

            color: white;

        }



        .reject-btn:hover {

            background: linear-gradient(135deg, #da190b, #c1170b);

        }



        .edit-btn {

            background: linear-gradient(135deg, #ff9800, #f57c00);

            color: white;

        }



        .edit-btn:hover {

            background: linear-gradient(135deg, #f57c00, #ef6c00);

        }



        .delete-btn {

            background: linear-gradient(135deg, #9e9e9e, #757575);

            color: white;

        }



        .delete-btn:hover {

            background: linear-gradient(135deg, #f44336, #da190b);

        }



        .admin-entry-content {

            margin-top: 1rem;

        }



        .admin-entry-rating {

            margin-bottom: 1rem;

            font-size: 1.1rem;

            color: #ffc107;

        }



        .admin-entry-message {

            background: rgba(0, 0, 0, 0.2);

            padding: 1rem;

            border-radius: 8px;

            line-height: 1.6;

            color: rgba(255, 255, 255, 0.9);

            border-left: 3px solid #00a8ff;

        }



        /* Enhanced security info display */

        .security-info {

            margin-top: 1rem;

            padding: 0.75rem;

            background: rgba(0, 0, 0, 0.3);

            border-radius: 6px;

            font-family: 'Courier New', monospace;

            font-size: 0.8rem;

            color: rgba(255, 255, 255, 0.7);

            border: 1px solid rgba(255, 255, 255, 0.1);

        }



        .security-info strong {

            color: #00a8ff;

        }



        /* Enhanced admin header controls */

        .admin-header-controls {

            display: flex;

            gap: 10px;

            align-items: center;

            flex-wrap: wrap;

            margin-bottom: 1rem;

        }



        .admin-action-btn {

            padding: 0.6rem 1.2rem;

            border: none;

            border-radius: 8px;

            cursor: pointer;

            font-size: 0.85rem;

            font-weight: bold;

            display: flex;

            align-items: center;

            gap: 0.5rem;

            transition: all 0.3s ease;

            color: white;

            text-decoration: none;

        }



        .admin-action-btn:hover {

            transform: translateY(-2px);

            box-shadow: 0 5px 15px rgba(0,0,0,0.3);

        }



        .export-btn {

            background: linear-gradient(135deg, #9c27b0, #7b1fa2);

        }



        .export-btn:hover {

            background: linear-gradient(135deg, #7b1fa2, #6a1b9a);

        }



        /* Enhanced filters */

        .admin-filters {

            display: grid;

            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

            gap: 1rem;

            margin-bottom: 2rem;

            padding: 1.5rem;

            background: rgba(255, 255, 255, 0.1);

            border-radius: 12px;

        }



        .admin-filter,

        .admin-search {

            padding: 0.75rem;

            border: 1px solid rgba(255, 255, 255, 0.3);

            border-radius: 8px;

            background: rgba(0, 0, 0, 0.3);

            color: white;

            font-size: 0.9rem;

        }



        .admin-filter:focus,

        .admin-search:focus {

            outline: none;

            border-color: #00a8ff;

            box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);

        }



        .admin-filter option {

            background: #333;

            color: white;

        }



        .admin-search::placeholder {

            color: rgba(255, 255, 255, 0.5);

        }



        /* Enhanced pagination */

        .admin-pagination {

            display: flex;

            justify-content: space-between;

            align-items: center;

            margin-top: 2rem;

            padding: 1rem;

            background: rgba(255, 255, 255, 0.1);

            border-radius: 12px;

        }



        .admin-page-btn {

            padding: 0.75rem 1.5rem;

            border: none;

            border-radius: 8px;

            background: linear-gradient(135deg, #667eea, #764ba2);

            color: white;

            cursor: pointer;

            font-weight: bold;

            transition: all 0.3s ease;

        }



        .admin-page-btn:hover:not(:disabled) {

            transform: translateY(-2px);

            box-shadow: 0 5px 15px rgba(0,0,0,0.3);

        }



        .admin-page-btn:disabled {

            opacity: 0.5;

            cursor: not-allowed;

        }



        .admin-page-info {

            color: rgba(255, 255, 255, 0.8);

            font-weight: bold;

        }



        /* Enhanced success modal for moderation */

        .modal-content .moderation-info {

            background: #f8f9fa;

            padding: 1rem;

            border-radius: 8px;

            margin: 1rem 0;

            font-size: 0.9rem;

            color: #666;

            border-left: 4px solid #00a8ff;

        }



        .modal-content .entry-id-info {

            background: #e3f2fd;

            padding: 1rem;

            border-radius: 8px;

            margin: 1rem 0;

            font-size: 0.9rem;

            color: #1976d2;

            border: 1px solid #bbdefb;

        }



        /* Enhanced reCAPTCHA styling */

        .recaptcha-group {

            display: flex;

            flex-direction: column;

            align-items: center;

            margin: 1.5rem 0;

        }

        

        .g-recaptcha {

            transform: scale(0.95);

            transform-origin: center;

            border-radius: 8px;

            overflow: hidden;

        }

        

        @media (max-width: 600px) {

            .g-recaptcha {

                transform: scale(0.8);

            }

        }

        

        @media (max-width: 480px) {

            .g-recaptcha {

                transform: scale(0.75);

            }

        }



        /* Enhanced character counter */

        .char-counter {

            text-align: right;

            font-size: 0.85rem;

            margin-top: 0.5rem;

            transition: all 0.3s ease;

        }



        .char-counter.good {

            color: #4CAF50;

        }



        .char-counter.warning {

            color: #ff9800;

        }



        .char-counter.danger {

            color: #f44336;

            font-weight: bold;

        }



        /* Enhanced loading states */

        .loading-spinner {

            display: inline-block;

            width: 16px;

            height: 16px;

            border: 2px solid rgba(255,255,255,0.3);

            border-top: 2px solid white;

            border-radius: 50%;

            animation: spin 1s linear infinite;

        }



        @keyframes spin {

            0% { transform: rotate(0deg); }

            100% { transform: rotate(360deg); }

        }



        .form.loading {

            opacity: 0.7;

            pointer-events: none;

        }



        /* Enhanced notifications */

        .notification {

            position: fixed;

            top: 20px;

            right: 20px;

            padding: 1rem 2rem;

            border-radius: 10px;

            z-index: 10001;

            font-size: 0.9rem;

            max-width: 350px;

            box-shadow: 0 10px 30px rgba(0,0,0,0.3);

            animation: slideInRight 0.3s ease;

            display: flex;

            align-items: center;

            gap: 0.5rem;

        }



        @keyframes slideInRight {

            from {

                transform: translateX(100%);

                opacity: 0;

            }

            to {

                transform: translateX(0);

                opacity: 1;

            }

        }



        @keyframes slideOutRight {

            from {

                transform: translateX(0);

                opacity: 1;

            }

            to {

                transform: translateX(100%);

                opacity: 0;

            }

        }



        /* Debug mode indicator */

        .debug-mode {

            position: fixed;

            bottom: 10px;

            left: 10px;

            background: rgba(255, 0, 0, 0.8);

            color: white;

            padding: 0.5rem 1rem;

            border-radius: 20px;

            font-size: 0.8rem;

            z-index: 10000;

            animation: pulse 2s infinite;

        }



        /* Enhanced responsive design */

        @media (max-width: 768px) {

            .entries-info {

                flex-direction: column;

                gap: 0.5rem;

            }

            

            .moderation-notice {

                flex-direction: column;

                text-align: center;

            }

            

            .notice-icon {

                margin-right: 0;

                margin-bottom: 0.5rem;

            }



            .admin-stats {

                grid-template-columns: repeat(2, 1fr);

            }



            .admin-entry-header {

                flex-direction: column;

                gap: 1rem;

            }



            .admin-entry-meta {

                flex-direction: column;

                gap: 0.5rem;

            }



            .admin-filters {

                grid-template-columns: 1fr;

            }



            .admin-header-controls {

                flex-direction: column;

                align-items: stretch;

            }



            .admin-pagination {

                flex-direction: column;

                gap: 1rem;

            }

        }



        @media (max-width: 480px) {

            .admin-stats {

                grid-template-columns: 1fr;

            }



            .admin-entry-actions {

                flex-direction: column;

            }



            .admin-entry-btn {

                justify-content: center;

            }

        }



        /* Enhanced accessibility */

        .admin-entry-btn:focus,

        .admin-action-btn:focus,

        .admin-filter:focus,

        .admin-search:focus {

            outline: 2px solid #00a8ff;

            outline-offset: 2px;

        }



        /* Dark mode support */

        @media (prefers-color-scheme: dark) {

            .security-info {

                background: rgba(255, 255, 255, 0.05);

                border-color: rgba(255, 255, 255, 0.1);

            }

        }



        /* Print styles for admin */

        @media print {

            .admin-entry-actions,

            .admin-header-controls,

            .admin-filters,

            .admin-pagination {

                display: none !important;

            }



            .admin-entry {

                break-inside: avoid;

                background: white !important;

                color: black !important;

                border: 1px solid #ccc !important;

            }



            .ip-address,

            .security-info {

                font-size: 0.7rem;

            }

        }

		/* ===============================================

   MODERNA KNJIGA POSJETA - PREMIUM STILOVI

   Apartmani Šimićev - Professional Design 2024

   =============================================== */



/* === CSS CUSTOM PROPERTIES === */

:root {

    /* Colors */

    --primary-blue: #00a8ff;

    --secondary-blue: #0066cc;

    --dark-blue: #001e3c;

    --accent-gold: #ffd700;

    --success-green: #4CAF50;

    --warning-orange: #ff9800;

    --danger-red: #f44336;

    --text-light: rgba(255, 255, 255, 0.9);

    --text-muted: rgba(255, 255, 255, 0.7);

    --glass-bg: rgba(255, 255, 255, 0.1);

    --glass-border: rgba(255, 255, 255, 0.2);

    

    /* Spacing */

    --spacing-xs: 0.5rem;

    --spacing-sm: 1rem;

    --spacing-md: 2rem;

    --spacing-lg: 3rem;

    --spacing-xl: 4rem;

    

    /* Borders */

    --border-radius-sm: 8px;

    --border-radius-md: 12px;

    --border-radius-lg: 20px;

    --border-radius-xl: 30px;

    

    /* Shadows */

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);

    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);

    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);

    --shadow-glow: 0 0 30px rgba(0, 168, 255, 0.3);

    

    /* Animations */

    --animation-fast: 0.2s ease;

    --animation-normal: 0.3s ease;

    --animation-slow: 0.6s ease;

}



/* === GLOBAL RESET & BASE === */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

    overflow-x: hidden;

}



body {

    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;

    line-height: 1.6;

    color: var(--text-light);

    background: linear-gradient(135deg, #0a0f1c 0%, #1a2a4a 50%, #2d4a73 100%);

    min-height: 100vh;

    overflow-x: hidden;

    position: relative;

}



/* === ANIMATED BACKGROUND === */

body::before {

    content: '';

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: 

        radial-gradient(circle at 20% 80%, rgba(0, 168, 255, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),

        radial-gradient(circle at 40% 40%, rgba(0, 168, 255, 0.08) 0%, transparent 50%);

    animation: backgroundFloat 20s ease-in-out infinite;

    pointer-events: none;

    z-index: -2;

}



body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/slides/slide-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03; /* Još transparentniji */
    animation: slowZoom 30s ease-in-out infinite; /* Nova suptilna animacija */
    pointer-events: none;
    z-index: -1;
}

/* Dodajte novu animaciju */
@keyframes slowZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


@keyframes backgroundFloat {

    0%, 100% { 

        background-position: 0% 0%, 100% 100%, 50% 50%; 

        opacity: 1;

    }

    25% { 

        background-position: 25% 25%, 75% 75%, 25% 75%; 

        opacity: 0.8;

    }

    50% { 

        background-position: 50% 50%, 50% 50%, 75% 25%; 

        opacity: 1;

    }

    75% { 

        background-position: 75% 75%, 25% 25%, 0% 100%; 

        opacity: 0.9;

    }

}



@keyframes patternMove {

    0% { transform: translateX(0) translateY(0); }

    100% { transform: translateX(40px) translateY(40px); }

}




/* === STATISTICS ENHANCED === */

.guestbook-stats {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

    animation: fadeInUp 1s ease-out 0.6s both;

}



.stat-item {

    background: var(--glass-bg);

    backdrop-filter: blur(20px);

    border: 1px solid var(--glass-border);

    border-radius: var(--border-radius-lg);

    padding: 2rem;

    text-align: center;

    transition: all var(--animation-normal);

    position: relative;

    overflow: hidden;

}



.stat-item::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);

    transition: left 0.6s ease;

}



.stat-item:hover::before {

    left: 100%;

}



.stat-item:hover {

    transform: translateY(-10px) scale(1.02);

    background: rgba(255, 255, 255, 0.15);

    border-color: var(--primary-blue);

    box-shadow: var(--shadow-glow);

}



.stat-number {

    font-size: 3rem;

    font-weight: 700;

    color: var(--primary-blue);

    display: block;

    margin-bottom: 0.5rem;

    animation: counterGlow 3s ease-in-out infinite;

    text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);

}



.stat-label {

    font-size: 1rem;

    opacity: 0.9;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-weight: 500;

}



@keyframes counterGlow {

    0%, 100% { 

        text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);

        transform: scale(1);

    }

    50% { 

        text-shadow: 0 0 30px rgba(0, 168, 255, 0.8);

        transform: scale(1.05);

    }

}



/* === MAIN CONTAINER ENHANCED === */

.guestbook-container {
    width: 90%; /* Promjena s 80% na 90% */
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 2% 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}



/* === FORM SECTION ENHANCED === */

.form-section {

    background: var(--glass-bg);

    backdrop-filter: blur(20px);

    border: 1px solid var(--glass-border);

    border-radius: var(--border-radius-lg);

    padding: 3rem;

    position: sticky;

    top: 100px;

    transition: all var(--animation-normal);

    box-shadow: var(--shadow-md);

    animation: slideInLeft 0.8s ease-out;

}



.form-section:hover {

    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(0, 168, 255, 0.4);

    box-shadow: var(--shadow-lg), var(--shadow-glow);

    transform: translateY(-5px);

}



.form-header h2 {

    font-size: 2.2rem;

    color: #fff;

    margin-bottom: 0.8rem;

    font-weight: 300;

    position: relative;

}



.form-header h2::after {

    content: '';

    position: absolute;

    bottom: -10px;

    left: 0;

    width: 60px;

    height: 3px;

    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));

    border-radius: 2px;

    animation: expandLine 1s ease-out 0.5s both;

}



@keyframes expandLine {

    from { width: 0; }

    to { width: 60px; }

}



.form-header p {

    color: var(--text-muted);

    font-size: 1.1rem;

    line-height: 1.7;

    margin-bottom: 2rem;

}



/* === MODERATION NOTICE ENHANCED === */

.moderation-notice {

    display: flex;

    align-items: center;

    background: linear-gradient(135deg, 

        rgba(0, 168, 255, 0.1), 

        rgba(0, 168, 255, 0.05)

    );

    border: 1px solid rgba(0, 168, 255, 0.3);

    border-left: 4px solid var(--primary-blue);

    border-radius: var(--border-radius-md);

    padding: 1.5rem;

    margin: 2rem 0;

    transition: all var(--animation-normal);

    animation: slideInRight 0.8s ease-out 0.3s both;

}



.moderation-notice:hover {

    background: linear-gradient(135deg, 

        rgba(0, 168, 255, 0.15), 

        rgba(0, 168, 255, 0.08)

    );

    transform: translateX(5px);

    box-shadow: var(--shadow-sm);

}



.notice-icon {

    font-size: 1.8rem;

    margin-right: 1rem;

    animation: pulse 2s infinite;

}



.notice-content strong {

    color: var(--primary-blue);

    display: block;

    margin-bottom: 0.5rem;

    font-weight: 600;

}



.notice-content p {

    margin: 0;

    font-size: 0.95rem;

    color: var(--text-muted);

    line-height: 1.5;

}



/* === FORM STYLING ENHANCED === */

.guestbook-form {

    color: #fff;

    animation: fadeIn 1s ease-out 0.4s both;

}



.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1.5rem;

    margin-bottom: 1.5rem;

}



.form-group {

    margin-bottom: 1.5rem;

    position: relative;

    animation: slideInUp 0.6s ease-out both;

    animation-delay: calc(var(--delay, 0) * 0.1s);

}



.form-group:nth-child(1) { --delay: 1; }

.form-group:nth-child(2) { --delay: 2; }

.form-group:nth-child(3) { --delay: 3; }



.form-group label {

    display: block;

    font-weight: 600;

    margin-bottom: 0.8rem;

    color: var(--text-light);

    font-size: 0.95rem;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition: color var(--animation-fast);

}



.form-group:focus-within label {

    color: var(--primary-blue);

    transform: translateY(-2px);

}



.form-group input,

.form-group select,

.form-group textarea {

    width: 100%;

    padding: 15px 20px;

    background: rgba(255, 255, 255, 0.05);

    border: 2px solid rgba(255, 255, 255, 0.1);

    border-radius: var(--border-radius-md);

    color: #fff;

    font-size: 1rem;

    transition: all var(--animation-normal);

    backdrop-filter: blur(10px);

    box-sizing: border-box;

    position: relative;

}



.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    outline: none;

    border-color: var(--primary-blue);

    background: rgba(255, 255, 255, 0.08);

    box-shadow: 0 0 0 4px rgba(0, 168, 255, 0.2);

    transform: translateY(-3px);

}



.form-group input::placeholder,

.form-group textarea::placeholder {

    color: rgba(255, 255, 255, 0.5);

    transition: opacity var(--animation-fast);

}



.form-group input:focus::placeholder,

.form-group textarea:focus::placeholder {

    opacity: 0.7;

}



/* === STAR RATING ENHANCED === */

.rating-group {

    text-align: center;

    padding: 2rem 0;

    background: rgba(255, 255, 255, 0.03);

    border-radius: var(--border-radius-md);

    margin: 2rem 0;

    transition: all var(--animation-normal);

}



.rating-group:hover {

    background: rgba(255, 255, 255, 0.06);

    transform: scale(1.02);

}



.star-rating {

    display: flex;

    justify-content: center;

    gap: 0.8rem;

    margin: 1.5rem 0;

}



.star {

    font-size: 2.5rem;

    cursor: pointer;

    transition: all var(--animation-normal);

    opacity: 0.3;

    filter: grayscale(100%) brightness(0.5);

    transform: scale(1);

    position: relative;

    padding: 8px;

    border-radius: 50%;

}



.star::before {

    content: '';

    position: absolute;

    inset: -10px;

    border-radius: 50%;

    background: radial-gradient(circle, transparent 60%, rgba(255, 215, 0, 0.1) 100%);

    opacity: 0;

    transition: opacity var(--animation-normal);

}



.star:hover::before,

.star.active::before {

    opacity: 1;

}



.star:hover,

.star.active {

    opacity: 1;

    filter: grayscale(0%) brightness(1.2);

    transform: scale(1.3) rotate(5deg);

    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);

}



.star.active {

    animation: starPulse 0.8s ease;

}



@keyframes starPulse {

    0%, 100% { transform: scale(1.3) rotate(5deg); }

    50% { transform: scale(1.5) rotate(-5deg); }

}



.rating-text {

    color: var(--text-muted);

    font-size: 1rem;

    font-weight: 500;

    min-height: 1.5rem;

    transition: all var(--animation-fast);

}



.rating-text.selected {

    color: var(--accent-gold);

    font-weight: 600;

    transform: scale(1.05);

}



/* === CHARACTER COUNTER ENHANCED === */

.char-counter {

    text-align: right;

    font-size: 0.85rem;

    margin-top: 0.5rem;

    font-weight: 500;

    transition: all var(--animation-fast);

}



.char-counter.good { color: var(--success-green); }

.char-counter.warning { 

    color: var(--warning-orange);

    animation: pulse 1s infinite;

}

.char-counter.danger { 

    color: var(--danger-red);

    font-weight: 700;

    animation: shake 0.5s ease-in-out;

}



@keyframes shake {

    0%, 100% { transform: translateX(0); }

    25% { transform: translateX(-5px); }

    75% { transform: translateX(5px); }

}



/* === CHECKBOX ENHANCED === */

.checkbox-group {

    margin: 2rem 0;

}



.checkbox-label {

    display: flex;

    align-items: center;

    cursor: pointer;

    font-size: 1rem;

    font-weight: 500;

    color: var(--text-light);

    line-height: 1.6;

    transition: all var(--animation-normal);

    padding: 1.5rem;

    border-radius: var(--border-radius-md);

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.1);

}



.checkbox-label:hover {

    background: rgba(255, 255, 255, 0.08);

    border-color: var(--primary-blue);

    transform: translateY(-3px);

    box-shadow: var(--shadow-sm);

}



.checkbox-label input[type="checkbox"] {

    position: absolute;

    opacity: 0;

    cursor: pointer;

}



.checkmark {

    height: 24px;

    width: 24px;

    background: rgba(255, 255, 255, 0.1);

    border: 2px solid rgba(255, 255, 255, 0.3);

    border-radius: 6px;

    margin-right: 1rem;

    position: relative;

    transition: all var(--animation-normal);

    flex-shrink: 0;

}



.checkbox-label:hover .checkmark {

    background: rgba(0, 168, 255, 0.1);

    border-color: var(--primary-blue);

    transform: scale(1.1);

}



.checkbox-label input[type="checkbox"]:checked + .checkmark {

    background: linear-gradient(135deg, var(--success-green), #45a049);

    border-color: var(--success-green);

    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);

    animation: checkmarkBounce 0.6s ease;

}



@keyframes checkmarkBounce {

    0% { transform: scale(0); }

    50% { transform: scale(1.3); }

    100% { transform: scale(1); }

}



.checkmark:after {

    content: "";

    position: absolute;

    display: none;

    left: 7px;

    top: 3px;

    width: 6px;

    height: 12px;

    border: solid white;

    border-width: 0 3px 3px 0;

    transform: rotate(45deg);

    animation: checkmarkDraw 0.3s ease 0.1s both;

}



.checkbox-label input[type="checkbox"]:checked + .checkmark:after {

    display: block;

}



@keyframes checkmarkDraw {

    0% {

        height: 0;

        opacity: 0;

    }

    100% {

        height: 12px;

        opacity: 1;

    }

}



/* === RECAPTCHA ENHANCED === */

.recaptcha-group {

    display: flex;

    justify-content: center;

    margin: 2.5rem 0;

    padding: 1rem;

    background: rgba(255, 255, 255, 0.05);

    border-radius: var(--border-radius-md);

    border: 1px solid rgba(255, 255, 255, 0.1);

    transition: all var(--animation-normal);

}



.recaptcha-group:hover {

    background: rgba(255, 255, 255, 0.08);

    transform: scale(1.02);

}



.g-recaptcha {

    transform: scale(0.95);

    transform-origin: center;

    border-radius: var(--border-radius-sm);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

}



/* === SUBMIT BUTTON ENHANCED === */

.form-actions {

    text-align: center;

    margin-top: 3rem;

}



.submit-btn {

    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);

    color: white;

    border: none;

    padding: 18px 50px;

    border-radius: var(--border-radius-xl);

    font-size: 1.1rem;

    font-weight: 700;

    cursor: pointer;

    transition: all var(--animation-normal);

    display: inline-flex;

    align-items: center;

    gap: 1rem;

    box-shadow: var(--shadow-md);

    position: relative;

    overflow: hidden;

    min-width: 200px;

    justify-content: center;

    text-transform: uppercase;

    letter-spacing: 1px;

}



.submit-btn::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);

    transition: left 0.6s ease;

}



.submit-btn:hover::before {

    left: 100%;

}



.submit-btn:hover {

    transform: translateY(-5px) scale(1.05);

    box-shadow: var(--shadow-lg), var(--shadow-glow);

    background: linear-gradient(135deg, var(--secondary-blue) 0%, #004499 100%);

}



.submit-btn:active {

    transform: translateY(-2px) scale(1.02);

}



.submit-btn:disabled {

    background: rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.5);

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}



.btn-icon {

    transition: transform var(--animation-normal);

}



.submit-btn:hover .btn-icon {

    transform: translateX(8px) rotate(15deg);

}



/* === LOADING STATES === */

.loading .submit-btn {

    position: relative;

}



.loading-spinner {

    display: inline-block;

    width: 20px;

    height: 20px;

    border: 2px solid rgba(255,255,255,0.3);

    border-top: 2px solid white;

    border-radius: 50%;

    animation: spin 1s linear infinite;

}



@keyframes spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}



/* === ENTRIES SECTION ENHANCED === */

.entries-section {

    color: #fff;

    animation: slideInRight 0.8s ease-out;

}



.entries-header {

    margin-bottom: 3rem;

}



.entries-header h2 {

    font-size: 2.2rem;

    font-weight: 300;

    color: #fff;

    margin-bottom: 1rem;

    position: relative;

}



.entries-header h2::after {

    content: '';

    position: absolute;

    bottom: -10px;

    left: 0;

    width: 80px;

    height: 3px;

    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));

    border-radius: 2px;

    animation: expandLine 1s ease-out 0.8s both;

}



.entries-info {

    display: flex;

    gap: 2rem;

    margin-bottom: 2rem;

    flex-wrap: wrap;

}



.info-item {

    display: flex;

    align-items: center;

    font-size: 0.9rem;

    color: var(--text-muted);

    padding: 0.8rem 1.5rem;

    background: var(--glass-bg);

    border-radius: var(--border-radius-xl);

    border: 1px solid var(--glass-border);

    transition: all var(--animation-normal);

    backdrop-filter: blur(10px);

}



.info-item:hover {

    background: rgba(255, 255, 255, 0.15);

    transform: translateY(-3px);

    box-shadow: var(--shadow-sm);

}



.info-icon {

    margin-right: 0.8rem;

    font-size: 1.1rem;

}



/* === ENTRY CARDS ENHANCED === */

/* ===============================================
   OPTIMIZIRANI ENTRIES HEADER
   Dodajte u knjiga_posjeta.css ili zamijenite postojeće
   =============================================== */

/* Glavni entries header container */
.entries-header {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: slideInRight 0.8s ease-out;
    transition: all 0.3s ease;
}

.entries-header:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.1);
}

/* NASLOV S IKONOM */
.entries-header h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
}

.entries-header h2::before {
    content: '💬';
    font-size: 1.4rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.entries-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold, #ffd700));
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.8s both;
}

/* KOMPAKTNI INFO BADGES - JEDAN RED */
.entries-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 36px;
    justify-content: center;
    white-space: nowrap;
}

/* Specifične boje za svaki badge */
.info-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border-color: rgba(76, 175, 80, 0.4);
    color: #4CAF50;
}

.info-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
    border-color: rgba(255, 152, 0, 0.4);
    color: #ff9800;
}

.info-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffc107;
}

/* Hover efekti */
.info-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-blue);
}

.info-item:hover:nth-child(1) {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.info-item:hover:nth-child(2) {
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}

.info-item:hover:nth-child(3) {
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

/* Shimmer animacija */
.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.info-item:hover::before {
    left: 100%;
}

/* Info ikone */
.info-icon {
    margin-right: 0.6rem;
    font-size: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* FILTER KONTROLE - KOMPAKTNO */
.filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.filter-select {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 180px;
    text-align: center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}

.filter-select:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-select option {
    background: #001e3c;
    color: #fff;
    padding: 8px;
}

/* ANIMACIJE */
@keyframes iconPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.1); 
    }
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animacije za info items */
.info-item:nth-child(1) {
    animation: slideUp 0.6s ease-out 0.1s both;
}

.info-item:nth-child(2) {
    animation: slideUp 0.6s ease-out 0.2s both;
}

.info-item:nth-child(3) {
    animation: slideUp 0.6s ease-out 0.3s both;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .entries-header {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .entries-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .entries-info {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .info-item {
        min-width: 200px;
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .filter-controls {
        margin-top: 0.8rem;
    }
    
    .filter-select {
        min-width: 160px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .entries-header {
        padding: 1rem;
    }
    
    .entries-header h2 {
        font-size: 1.3rem;
    }
    
    .info-item {
        min-width: 180px;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    
    .filter-select {
        min-width: 140px;
        font-size: 0.75rem;
    }
}

/* VARIJANTE ZA RAZLIČITE LAYOUTE */

/* Ultra kompaktna varijanta */
.entries-header.ultra-compact {
    padding: 1rem;
    margin-bottom: 1rem;
}

.entries-header.ultra-compact h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.entries-header.ultra-compact .entries-info {
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.entries-header.ultra-compact .info-item {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    min-height: 32px;
}

/* One-line varijanta za desktop */
.entries-header.one-line {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.2rem 1.8rem;
    text-align: left;
    gap: 2rem;
}

.entries-header.one-line h2 {
    margin: 0;
    font-size: 1.6rem;
    justify-content: flex-start;
}

.entries-header.one-line .entries-info {
    margin: 0;
    gap: 0.5rem;
    justify-content: flex-end;
}

.entries-header.one-line .info-item {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
}

.entries-header.one-line .filter-controls {
    margin: 0;
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .entries-header.one-line {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .entries-header.one-line h2 {
        justify-content: center;
    }
    
    .entries-header.one-line .entries-info {
        justify-content: center;
    }

    .entries-header.one-line .filter-controls {
        margin-top: 0.5rem;
    }
}

/* TOOLTIP STILOVI */
.info-item[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: normal;
    max-width: 250px;
    text-align: center;
    line-height: 1.4;
    z-index: 1000;
    opacity: 1;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.info-item[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
}

/* ACCESSIBILITY */
.info-item:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.filter-select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* PERFORMANCE OPTIMIZACIJE */
.entries-header,
.info-item {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}



.entry-author {

    display: flex;

    align-items: center;

    gap: 1.5rem;

}



.author-avatar {

    width: 60px;

    height: 60px;

    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-weight: bold;

    font-size: 1.4rem;

    text-transform: uppercase;

    box-shadow: var(--shadow-md);

    flex-shrink: 0;

    position: relative;

    overflow: hidden;

}



.author-avatar::before {

    content: '';

    position: absolute;

    inset: -2px;

    background: linear-gradient(45deg, var(--accent-gold), var(--primary-blue), var(--accent-gold));

    border-radius: 50%;

    z-index: -1;

    animation: avatarGlow 3s ease-in-out infinite;

}



@keyframes avatarGlow {

    0%, 100% { opacity: 0.7; transform: scale(1); }

    50% { opacity: 1; transform: scale(1.1); }

}



.author-info h4 {

    margin: 0;

    font-size: 1.3rem;

    font-weight: 600;

    color: #fff;

    margin-bottom: 0.3rem;

}



.author-meta {

    font-size: 0.9rem;

    color: var(--text-muted);

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}



.entry-rating .stars {

    font-size: 1.4rem;

    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));

    animation: starGlow 2s ease-in-out infinite;

}



@keyframes starGlow {

    0%, 100% { filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4)); }

    50% { filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.7)); }

}



.entry-content {

    margin: 2rem 0;

    line-height: 1.8;

    color: var(--text-light);

    font-size: 1.1rem;

    position: relative;

    padding: 1.5rem;

    background: rgba(0, 0, 0, 0.1);

    border-radius: var(--border-radius-md);

    border-left: 4px solid var(--primary-blue);

}



.entry-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;

    padding-top: 1.5rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.recommend-badge,

.apartment-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.8rem 1.5rem;

    border-radius: var(--border-radius-xl);

    font-size: 0.85rem;

    font-weight: 600;

    transition: all var(--animation-fast);

}



.recommend-badge {

    background: rgba(76, 175, 80, 0.2);

    color: var(--success-green);

    border: 1px solid rgba(76, 175, 80, 0.4);

}



.recommend-badge:hover {

    background: rgba(76, 175, 80, 0.3);

    transform: scale(1.05);

}



.apartment-badge {

    background: rgba(0, 168, 255, 0.2);

    color: var(--primary-blue);

    border: 1px solid rgba(0, 168, 255, 0.4);

}



.apartment-badge:hover {

    background: rgba(0, 168, 255, 0.3);

    transform: scale(1.05);

}



/* === PAGINATION ENHANCED === */

.pagination-container {

    display: flex;

    flex-direction: column;

    gap: 2rem;

    align-items: center;

    margin-top: 4rem;

    padding: 2rem;

    background: var(--glass-bg);

    border-radius: var(--border-radius-lg);

    backdrop-filter: blur(10px);

    border: 1px solid var(--glass-border);

}



.pagination-info {

    color: var(--text-muted);

    font-size: 0.95rem;

    text-align: center;

    font-weight: 500;

}



.pagination-controls {

    display: flex;

    align-items: center;

    gap: 1.5rem;

    flex-wrap: wrap;

}



.page-btn {

    background: transparent;

    color: var(--primary-blue);

    border: 2px solid var(--primary-blue);

    padding: 12px 24px;

    border-radius: var(--border-radius-xl);

    font-size: 0.9rem;

    font-weight: 600;

    cursor: pointer;

    transition: all var(--animation-normal);

    display: inline-flex;

    align-items: center;

    gap: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



.page-btn:hover:not(:disabled) {

    background: var(--primary-blue);

    color: white;

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);

}



.page-btn:disabled {

    opacity: 0.4;

    cursor: not-allowed;

    transform: none;

}



.page-numbers {

    display: flex;

    align-items: center;

    gap: 0.8rem;

}



.page-number {

    width: 50px;

    height: 50px;

    background: transparent;

    color: var(--text-muted);

    border: 2px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    cursor: pointer;

    transition: all var(--animation-normal);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 0.9rem;

    font-weight: 600;

}



.page-number:hover {

    background: var(--primary-blue);

    color: white;

    border-color: var(--primary-blue);

    transform: scale(1.1);

}



.page-number.active {

    background: var(--primary-blue);

    color: white;

    border-color: var(--primary-blue);

    box-shadow: var(--shadow-glow);

}



/* === SUCCESS MODAL ENHANCED === */

.modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.8);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10000;

    opacity: 0;

    visibility: hidden;

    transition: all var(--animation-normal);

    backdrop-filter: blur(10px);

}



.modal-overlay.show {

    opacity: 1;

    visibility: visible;

}



.modal {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));

    backdrop-filter: blur(30px);

    border-radius: var(--border-radius-lg);

    padding: 3rem;

    text-align: center;

    max-width: 450px;

    width: 90%;

    transform: scale(0.7) translateY(50px);

    transition: transform var(--animation-slow);

    box-shadow: var(--shadow-lg);

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.modal-overlay.show .modal {

    transform: scale(1) translateY(0);

}



.success-icon {

    margin-bottom: 2rem;

    animation: successBounce 1s ease;

}



@keyframes successBounce {

    0% { transform: scale(0); opacity: 0; }

    50% { transform: scale(1.2); opacity: 1; }

    100% { transform: scale(1); opacity: 1; }

}



.modal h3 {

    font-size: 2rem;

    color: #333;

    margin-bottom: 1rem;

    font-weight: 300;

}



.modal p {

    color: #666;

    font-size: 1.1rem;

    margin-bottom: 2rem;

    line-height: 1.6;

}



.modal-btn {

    background: linear-gradient(135deg, var(--success-green), #45a049);

    color: white;

    border: none;

    padding: 15px 40px;

    border-radius: var(--border-radius-xl);

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: all var(--animation-normal);

    text-transform: uppercase;

    letter-spacing: 1px;

}



.modal-btn:hover {

    background: linear-gradient(135deg, #45a049, #3d8b40);

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);

}



/* === ERROR MESSAGES ENHANCED === */

.error-message {

    color: var(--danger-red);

    font-size: 0.85rem;

    margin-top: 0.8rem;

    display: block;

    opacity: 0;

    transform: translateY(-10px);

    transition: all var(--animation-normal);

    font-weight: 500;

    position: relative;

    padding-left: 1.5rem;

}



.error-message::before {

    content: '⚠';

    position: absolute;

    left: 0;

    top: 0;

    color: var(--danger-red);

    font-weight: bold;

}



.error-message.show {

    opacity: 1;

    transform: translateY(0);

    animation: errorShake 0.5s ease;

}



@keyframes errorShake {

    0%, 100% { transform: translateX(0); }

    25% { transform: translateX(-3px); }

    75% { transform: translateX(3px); }

}



/* === FORM VALIDATION STATES === */

.form-group.error input,

.form-group.error select,

.form-group.error textarea {

    border-color: var(--danger-red);

    background: rgba(244, 67, 54, 0.1);

    animation: inputError 0.3s ease;

}



.form-group.success input,

.form-group.success select,

.form-group.success textarea {

    border-color: var(--success-green);

    background: rgba(76, 175, 80, 0.1);

}



@keyframes inputError {

    0%, 100% { transform: translateX(0); }

    25% { transform: translateX(-5px); }

    75% { transform: translateX(5px); }

}



/* === FLOATING ADMIN BUTTON ENHANCED === */

.floating-admin {

    position: fixed;

    bottom: 30px;

    right: 30px;

    z-index: 998;

    opacity: 0.2;

    transition: all var(--animation-normal);

}



.floating-admin:hover {

    opacity: 1;

    transform: translateY(-5px) scale(1.1);

}



.floating-admin-btn {

    background: var(--glass-bg);

    backdrop-filter: blur(20px);

    color: var(--text-muted);

    border: 1px solid var(--glass-border);

    width: 60px;

    height: 60px;

    border-radius: 50%;

    cursor: pointer;

    transition: all var(--animation-normal);

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: var(--shadow-sm);

    position: relative;

    overflow: hidden;

}



.floating-admin-btn::before {

    content: 'Admin';

    position: absolute;

    right: calc(100% + 15px);

    top: 50%;

    transform: translateY(-50%);

    background: rgba(0, 0, 0, 0.9);

    color: white;

    padding: 8px 12px;

    border-radius: 6px;

    font-size: 0.8rem;

    opacity: 0;

    transition: opacity var(--animation-normal);

    white-space: nowrap;

    pointer-events: none;

}



.floating-admin-btn:hover::before {

    opacity: 1;

}



.floating-admin-btn:hover {

    background: rgba(0, 168, 255, 0.2);

    color: var(--primary-blue);

    border-color: var(--primary-blue);

    box-shadow: var(--shadow-glow);

}



.floating-admin-btn svg {

    width: 20px;

    height: 20px;

    transition: transform var(--animation-normal);

}



.floating-admin-btn:hover svg {

    transform: rotate(90deg);

}



/* === ANIMATIONS === */

@keyframes fadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}



@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes slideInLeft {

    from {

        opacity: 0;

        transform: translateX(-50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slideInUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes pulse {

    0%, 100% { opacity: 1; }

    50% { opacity: 0.7; }

}



/* === RESPONSIVE DESIGN === */

@media (max-width: 1024px) {

    .guestbook-container {

        grid-template-columns: 1fr;

        gap: 3rem;

    }

    

    .form-section {

        position: static;

    }

    

    .guestbook-stats {

        gap: 1.5rem;

    }

    

    .star {

        font-size: 2rem;

        gap: 0.6rem;

    }

}



@media (max-width: 768px) {

    :root {

        --spacing-lg: 2rem;

        --spacing-xl: 3rem;

    }

    

    .guestbook-hero {

        padding: 100px 5% 60px;

    }

    

    .guestbook-title {

        font-size: 2.5rem;

    }

    

    .guestbook-stats {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .guestbook-container {

        padding: 60px 5% 0;

        gap: 2rem;

    }

    

    .form-section {

        padding: 2rem;

    }

    

    .form-row {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .entries-header {

        text-align: center;

    }

    

    .entries-info {

        flex-direction: column;

        gap: 1rem;

    }

    

    .entry-header {

        flex-direction: column;

        gap: 1rem;

        text-align: center;

    }

    

    .entry-footer {

        flex-direction: column;

        text-align: center;

    }

    

    .star-rating {

        gap: 0.5rem;

    }

    

    .star {

        font-size: 2rem;

    }

    

    .g-recaptcha {

        transform: scale(0.85);

    }

    

    .pagination-controls {

        flex-direction: column;

        gap: 1rem;

    }

    

    .floating-admin {

        bottom: 20px;

        right: 20px;

    }

    

    .floating-admin-btn {

        width: 50px;

        height: 50px;

    }

}



@media (max-width: 480px) {

    .guestbook-hero {

        padding: 80px 5% 40px;

    }

    

    .guestbook-title {

        font-size: 2rem;

    }

    

    .form-section {

        padding: 1.5rem;

    }

    

    .entry-card {

        padding: 1.5rem;

    }

    

    .author-avatar {

        width: 50px;

        height: 50px;

        font-size: 1.2rem;

    }

    

    .modal {

        padding: 2rem;

        margin: 1rem;

    }

    

    .g-recaptcha {

        transform: scale(0.75);

    }

    

    .submit-btn {

        padding: 15px 35px;

        font-size: 1rem;

    }

    

    .star {

        font-size: 1.8rem;

    }

}



/* === PRINT STYLES === */

@media print {

    .form-section,

    .pagination-container,

    .floating-admin {

        display: none;

    }

    

    .guestbook-container {

        grid-template-columns: 1fr;

    }

    

    .entry-card {

        break-inside: avoid;

        margin-bottom: 1rem;

        background: white !important;

        color: black !important;

        border: 1px solid #ccc !important;

    }

    

    .guestbook-hero {

        background: white !important;

        color: black !important;

        padding: 2rem 0;

    }

}



/* === ACCESSIBILITY === */

@media (prefers-reduced-motion: reduce) {

    * {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}



@media (prefers-contrast: high) {

    .form-group input,

    .form-group select,

    .form-group textarea {

        border-width: 3px;

    }

    

    .star {

        border: 2px solid transparent;

    }

    

    .star.active {

        border-color: var(--accent-gold);

    }

}



/* === DARK THEME SUPPORT === */

@media (prefers-color-scheme: dark) {

    .modal {

        background: rgba(30, 30, 30, 0.95);

        color: #fff;

    }

    

    .modal h3 {

        color: #fff;

    }

    

    .modal p {

        color: rgba(255, 255, 255, 0.8);

    }

}



/* === UTILITY CLASSES === */

.sr-only {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}



.text-center { text-align: center; }

.text-left { text-align: left; }

.text-right { text-align: right; }



.mb-0 { margin-bottom: 0; }

.mb-1 { margin-bottom: var(--spacing-xs); }

.mb-2 { margin-bottom: var(--spacing-sm); }

.mb-3 { margin-bottom: var(--spacing-md); }



.mt-0 { margin-top: 0; }

.mt-1 { margin-top: var(--spacing-xs); }

.mt-2 { margin-top: var(--spacing-sm); }

.mt-3 { margin-top: var(--spacing-md); }



/* === FOCUS STYLES === */

*:focus {

    outline: 2px solid var(--primary-blue);

    outline-offset: 2px;

}



.star:focus {

    outline: 2px solid var(--accent-gold);

    outline-offset: 4px;

    border-radius: 50%;

}



/* === SELECTION STYLES === */

::selection {

    background: var(--primary-blue);

    color: white;

}



/* === SCROLLBAR STYLES === */

::-webkit-scrollbar {

    width: 8px;

}



::-webkit-scrollbar-track {

    background: rgba(255, 255, 255, 0.1);

}



::-webkit-scrollbar-thumb {

    background: var(--primary-blue);

    border-radius: 4px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--secondary-blue);

}



/* === NOTIFICATION ENHANCED === */

.notification {

    position: fixed;

    top: 20px;

    right: 20px;

    padding: 1rem 2rem;

    border-radius: var(--border-radius-md);

    z-index: 10001;

    font-size: 0.9rem;

    max-width: 400px;

    box-shadow: var(--shadow-lg);

    animation: slideInRight 0.4s ease;

    display: flex;

    align-items: center;

    gap: 0.8rem;

    cursor: pointer;

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.notification-success {

    background: linear-gradient(135deg, var(--success-green), #45a049);

    color: white;

}



.notification-error {

    background: linear-gradient(135deg, var(--danger-red), #da190b);

    color: white;

}



.notification-warning {

    background: linear-gradient(135deg, var(--warning-orange), #f57c00);

    color: white;

}



.notification-info {

    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));

    color: white;

}



@keyframes slideInRight {

    from {

        transform: translateX(100%);

        opacity: 0;

    }

    to {

        transform: translateX(0);

        opacity: 1;

    }

}



@keyframes slideOutRight {

    from {

        transform: translateX(0);

        opacity: 1;

    }

    to {

        transform: translateX(100%);

        opacity: 0;

    }

}



/* === DEBUG MODE === */

.debug-mode {

    position: fixed;

    bottom: 10px;

    left: 10px;

    background: rgba(255, 0, 0, 0.9);

    color: white;

    padding: 0.5rem 1rem;

    border-radius: var(--border-radius-xl);

    font-size: 0.8rem;

    z-index: 10000;

    animation: pulse 2s infinite;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

}



/* ===============================================

   DODATNI CSS - ADVANCED ANIMACIJE

   Dodajte na kraj postojećeg CSS-a

   =============================================== */



/* === SCROLL ANIMATIONS === */

.animate-in {

    animation: scrollFadeInUp 0.8s ease-out forwards;

}



@keyframes scrollFadeInUp {

    from {

        opacity: 0;

        transform: translateY(50px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* === FORM FOCUS STATES === */

.form-group.focused {

    transform: scale(1.02);

    transition: transform 0.3s ease;

}



.form-group.focused label {

    color: var(--primary-blue);

    transform: translateY(-2px);

    transition: all 0.3s ease;

}



/* === ENHANCED RIPPLE ANIMATION === */

@keyframes ripple {

    0% {

        transform: translate(-50%, -50%) scale(0);

        opacity: 1;

    }

    100% {

        transform: translate(-50%, -50%) scale(2);

        opacity: 0;

    }

}



/* === CONFETTI ANIMATION === */

@keyframes confetti-fall {

    0% {

        transform: translateY(0) rotate(0deg);

        opacity: 1;

    }

    100% {

        transform: translateY(200px) rotate(720deg);

        opacity: 0;

    }

}



/* === FADE ANIMATIONS === */

@keyframes fadeOut {

    from { opacity: 1; }

    to { opacity: 0; }

}



/* === PARTICLE GLOW EFFECT === */

.glow-particle {

    position: absolute;

    width: 4px;

    height: 4px;

    background: radial-gradient(circle, rgba(0, 168, 255, 0.8) 0%, transparent 70%);

    border-radius: 50%;

    animation: particleFloat 6s ease-in-out infinite;

}



@keyframes particleFloat {

    0%, 100% {

        transform: translateY(0) translateX(0);

        opacity: 0.3;

    }

    25% {

        transform: translateY(-20px) translateX(10px);

        opacity: 0.8;

    }

    50% {

        transform: translateY(-40px) translateX(-5px);

        opacity: 1;

    }

    75% {

        transform: translateY(-20px) translateX(-15px);

        opacity: 0.6;

    }

}



/* === ENHANCED HOVER STATES === */

.entry-card:hover .author-avatar {

    animation: avatarBounce 0.6s ease;

    box-shadow: 0 0 30px rgba(0, 168, 255, 0.6);

}



@keyframes avatarBounce {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.1) rotate(5deg); }

}



.entry-card:hover .entry-content {

    background: rgba(0, 0, 0, 0.15);

    border-left-color: var(--accent-gold);

    transition: all 0.3s ease;

}



/* === LOADING SHIMMER EFFECT === */

.loading-shimmer {

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);

    background-size: 200% 100%;

    animation: shimmer 1.5s infinite;

}



@keyframes shimmer {

    0% { background-position: -200% 0; }

    100% { background-position: 200% 0; }

}



/* === BUTTON PULSE EFFECT === */

.pulse-effect {

    position: relative;

    overflow: hidden;

}



.pulse-effect::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    background: rgba(255, 255, 255, 0.3);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    transition: width 0.6s ease, height 0.6s ease;

}



.pulse-effect:hover::before {

    width: 300px;

    height: 300px;

}



/* === TEXT GLOW ANIMATION === */

.text-glow {

    animation: textGlow 3s ease-in-out infinite;

}



@keyframes textGlow {

    0%, 100% {

        text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);

    }

    50% {

        text-shadow: 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.4);

    }

}



/* === CARD FLIP ANIMATION === */

.flip-card {

    perspective: 1000px;

}



.flip-card-inner {

    position: relative;

    width: 100%;

    height: 100%;

    text-align: center;

    transition: transform 0.8s;

    transform-style: preserve-3d;

}



.flip-card:hover .flip-card-inner {

    transform: rotateY(180deg);

}



.flip-card-front, .flip-card-back {

    position: absolute;

    width: 100%;

    height: 100%;

    backface-visibility: hidden;

}



.flip-card-back {

    transform: rotateY(180deg);

}



/* === MORPHING SHAPES === */

@keyframes morphing {

    0%, 100% {

        border-radius: 20px;

    }

    25% {

        border-radius: 50px 20px 20px 50px;

    }

    50% {

        border-radius: 20px 50px 50px 20px;

    }

    75% {

        border-radius: 50px;

    }

}



.morphing-shape {

    animation: morphing 8s ease-in-out infinite;

}



/* === GRADIENT BORDER ANIMATION === */

.animated-border {

    position: relative;

    background: var(--glass-bg);

    border-radius: var(--border-radius-lg);

}



.animated-border::before {

    content: '';

    position: absolute;

    inset: -2px;

    background: linear-gradient(45deg, 

        var(--primary-blue), 

        var(--accent-gold), 

        var(--primary-blue), 

        var(--accent-gold)

    );

    background-size: 400% 400%;

    border-radius: inherit;

    z-index: -1;

    animation: gradientRotate 4s ease infinite;

}



@keyframes gradientRotate {

    0%, 100% { background-position: 0% 50%; }

    25% { background-position: 100% 50%; }

    50% { background-position: 100% 100%; }

    75% { background-position: 0% 100%; }

}



/* === FLOATING ELEMENTS === */

.floating-element {

    animation: floating 6s ease-in-out infinite;

}



@keyframes floating {

    0%, 100% {

        transform: translateY(0) rotate(0deg);

    }

    25% {

        transform: translateY(-10px) rotate(1deg);

    }

    50% {

        transform: translateY(-20px) rotate(0deg);

    }

    75% {

        transform: translateY(-10px) rotate(-1deg);

    }

}



/* === TYPEWRITER CURSOR === */

.typewriter-cursor {

    border-right: 2px solid var(--primary-blue);

    animation: typewriter-blink 1s infinite;

}



@keyframes typewriter-blink {

    0%, 50% { border-right-color: var(--primary-blue); }

    51%, 100% { border-right-color: transparent; }

}



/* === ZOOM IN ANIMATION === */

.zoom-in {

    animation: zoomIn 0.5s ease;

}



@keyframes zoomIn {

    from {

        opacity: 0;

        transform: scale(0.3);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}



/* === SLIDE ANIMATIONS === */

.slide-in-left {

    animation: slideInLeft 0.6s ease;

}



.slide-in-right {

    animation: slideInRight 0.6s ease;

}



.slide-in-up {

    animation: slideInUp 0.6s ease;

}



.slide-in-down {

    animation: slideInDown 0.6s ease;

}



@keyframes slideInDown {

    from {

        opacity: 0;

        transform: translateY(-100px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* === BOUNCE ANIMATIONS === */

.bounce-in {

    animation: bounceIn 0.8s ease;

}



@keyframes bounceIn {

    0% {

        opacity: 0;

        transform: scale(0.3);

    }

    50% {

        opacity: 1;

        transform: scale(1.05);

    }

    70% {

        transform: scale(0.9);

    }

    100% {

        transform: scale(1);

    }

}



/* === ROTATION ANIMATIONS === */

.rotate-in {

    animation: rotateIn 0.6s ease;

}



@keyframes rotateIn {

    from {

        opacity: 0;

        transform: rotate(-180deg);

    }

    to {

        opacity: 1;

        transform: rotate(0);

    }

}



/* === ELASTIC ANIMATIONS === */

.elastic {

    animation: elastic 1s ease-out;

}



@keyframes elastic {

    0% {

        transform: scale(0);

    }

    55% {

        transform: scale(1.1);

    }

    75% {

        transform: scale(0.9);

    }

    100% {

        transform: scale(1);

    }

}



/* === WOBBLE ANIMATION === */

.wobble {

    animation: wobble 1s ease-in-out;

}



@keyframes wobble {

    0% { transform: translateX(0); }

    15% { transform: translateX(-25px) rotate(-5deg); }

    30% { transform: translateX(20px) rotate(3deg); }

    45% { transform: translateX(-15px) rotate(-3deg); }

    60% { transform: translateX(10px) rotate(2deg); }

    75% { transform: translateX(-5px) rotate(-1deg); }

    100% { transform: translateX(0); }

}



/* === HEART BEAT ANIMATION === */

.heartbeat {

    animation: heartbeat 1.5s ease-in-out infinite;

}



@keyframes heartbeat {

    0%, 100% {

        transform: scale(1);

    }

    14% {

        transform: scale(1.1);

    }

    28% {

        transform: scale(1);

    }

    42% {

        transform: scale(1.1);

    }

    70% {

        transform: scale(1);

    }

}



/* === SWING ANIMATION === */

.swing {

    transform-origin: top center;

    animation: swing 2s ease-in-out infinite;

}



@keyframes swing {

    0%, 100% {

        transform: rotate(0deg);

    }

    20% {

        transform: rotate(15deg);

    }

    40% {

        transform: rotate(-10deg);

    }

    60% {

        transform: rotate(5deg);

    }

    80% {

        transform: rotate(-5deg);

    }

}



/* === UTILITY CLASSES FOR ANIMATIONS === */

.delay-1 { animation-delay: 0.1s; }

.delay-2 { animation-delay: 0.2s; }

.delay-3 { animation-delay: 0.3s; }

.delay-4 { animation-delay: 0.4s; }

.delay-5 { animation-delay: 0.5s; }



.duration-fast { animation-duration: 0.3s; }

.duration-normal { animation-duration: 0.6s; }

.duration-slow { animation-duration: 1s; }



.ease-in { animation-timing-function: ease-in; }

.ease-out { animation-timing-function: ease-out; }

.ease-in-out { animation-timing-function: ease-in-out; }



/* === HOVER UTILITIES === */

.hover-lift:hover {

    transform: translateY(-5px);

    transition: transform 0.3s ease;

}



.hover-grow:hover {

    transform: scale(1.05);

    transition: transform 0.3s ease;

}



.hover-rotate:hover {

    transform: rotate(5deg);

    transition: transform 0.3s ease;

}



.hover-shadow:hover {

    box-shadow: var(--shadow-lg);

    transition: box-shadow 0.3s ease;

}



.hover-glow:hover {

    box-shadow: var(--shadow-glow);

    transition: box-shadow 0.3s ease;

}



/* === MEDIA QUERIES FOR ANIMATION CONTROL === */

@media (prefers-reduced-motion: reduce) {

    .animate-in,

    .floating-element,

    .morphing-shape,

    .animated-border::before,

    .glow-particle,

    .swing,

    .heartbeat,

    .wobble {

        animation: none !important;

    }

    

    .hover-lift:hover,

    .hover-grow:hover,

    .hover-rotate:hover {

        transform: none !important;

    }

}



@media (max-width: 768px) {

    /* Reduce animation complexity on mobile */

    .animated-border::before {

        animation-duration: 6s;

    }

    

    .floating-element {

        animation-duration: 8s;

    }

    

    .morphing-shape {

        animation-duration: 10s;

    }

}



/* === FOCUS INDICATORS === */

.focus-visible {

    outline: 2px solid var(--primary-blue);

    outline-offset: 2px;

    border-radius: 4px;

}



/* === HIGH CONTRAST MODE === */

@media (prefers-contrast: high) {

    .glow-particle,

    .text-glow,

    .animated-border::before {

        opacity: 1 !important;

        filter: contrast(200%);

    }

}



/* === DARK MODE ENHANCEMENTS === */

@media (prefers-color-scheme: dark) {

    .glow-particle {

        background: radial-gradient(circle, rgba(0, 168, 255, 1) 0%, transparent 70%);

    }

    

    .text-glow {

        text-shadow: 0 0 15px rgba(0, 168, 255, 0.8);

    }

}



/* === PERFORMANCE OPTIMIZATIONS === */

.gpu-accelerated {

    transform: translateZ(0);

    backface-visibility: hidden;

    perspective: 1000px;

}

/* ===============================================

   OPTIMIZACIJA INFO TRAKE I HEADER-A

   Dodajte ovaj kod na KRAJ postojeće css/knjiga_posjeta.css datoteke

   =============================================== */



/* === OPTIMIZACIJA POSTOJEĆIH STILOVA === */

.entries-header {

    margin-bottom: 1.5rem !important;

    padding: 1.2rem !important;

    background: rgba(255, 255, 255, 0.05) !important;

    border-radius: 15px !important;

    backdrop-filter: blur(15px) !important;

    border: 1px solid rgba(255, 255, 255, 0.1) !important;

    text-align: center !important;

    animation: slideInRight 0.8s ease-out;

}



.entries-header h2 {

    font-size: 1.6rem !important;

    margin-bottom: 1rem !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 0.8rem !important;

}



.entries-header h2::before {

    content: '💬' !important;

    font-size: 1.2rem !important;

}



/* === KOMPAKTNI INFO BADGE-OVI === */

.entries-info {

    display: flex !important;

    justify-content: center !important;

    gap: 0.8rem !important;

    margin: 1rem 0 !important;

    flex-wrap: wrap !important;

}



.info-item {

    font-size: 0.75rem !important;

    padding: 0.5rem 1rem !important;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;

    border: 1px solid rgba(255, 255, 255, 0.15) !important;

    border-radius: 20px !important;

    transition: all 0.3s ease !important;

    cursor: pointer !important;

    position: relative !important;

    overflow: hidden !important;

    backdrop-filter: blur(10px) !important;

    font-weight: 500 !important;

}



/* Boje za svaki badge */

.info-item:nth-child(1) {

    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05)) !important;

    border-color: rgba(76, 175, 80, 0.3) !important;

    color: #4CAF50 !important;

}



.info-item:nth-child(2) {

    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05)) !important;

    border-color: rgba(244, 67, 54, 0.3) !important;

    color: #f44336 !important;

}



.info-item:nth-child(3) {

    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05)) !important;

    border-color: rgba(255, 152, 0, 0.3) !important;

    color: #ff9800 !important;

}



/* Shimmer animacija */

.info-item::before {

    content: '' !important;

    position: absolute !important;

    top: 0 !important;

    left: -100% !important;

    width: 100% !important;

    height: 100% !important;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;

    transition: left 0.8s ease !important;

}



.info-item:hover::before {

    left: 100% !important;

}



.info-item:hover {

    transform: translateY(-3px) scale(1.05) !important;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;

    border-color: var(--primary-blue) !important;

}



.info-icon {

    margin-right: 0.5rem !important;

    font-size: 0.9rem !important;

    animation: iconPulse 2s ease-in-out infinite !important;

}



@keyframes iconPulse {

    0%, 100% { opacity: 1; transform: scale(1); }

    50% { opacity: 0.8; transform: scale(1.1); }

}



/* === FILTER OPTIMIZACIJA === */

.filter-controls {

    margin-top: 1rem !important;

    display: flex !important;

    justify-content: center !important;

}



.filter-select {

    padding: 6px 12px !important;

    font-size: 0.8rem !important;

    border-radius: 20px !important;

    background: rgba(255, 255, 255, 0.08) !important;

    border: 1px solid rgba(255, 255, 255, 0.2) !important;

    backdrop-filter: blur(10px) !important;

    transition: all 0.3s ease !important;

}



.filter-select:focus {

    border-color: var(--primary-blue) !important;

    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2) !important;

}



/* === STAGGERED ANIMACIJE === */

.info-item:nth-child(1) {

    animation: slideUp 0.6s ease-out 0.1s both !important;

}



.info-item:nth-child(2) {

    animation: slideUp 0.6s ease-out 0.2s both !important;

}



.info-item:nth-child(3) {

    animation: slideUp 0.6s ease-out 0.3s both !important;

}



@keyframes slideUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* === TOOLTIP STILOVI === */

.info-item:hover::after {

    content: attr(data-tooltip) !important;

    position: absolute !important;

    bottom: calc(100% + 10px) !important;

    left: 50% !important;

    transform: translateX(-50%) !important;

    background: rgba(0, 0, 0, 0.9) !important;

    color: white !important;

    padding: 8px 12px !important;

    border-radius: 6px !important;

    font-size: 0.7rem !important;

    white-space: nowrap !important;

    opacity: 1 !important;

    z-index: 1000 !important;

    pointer-events: none !important;

    max-width: 250px !important;

    white-space: normal !important;

    text-align: center !important;

    line-height: 1.3 !important;

}



/* === RESPONSIVE === */

@media (max-width: 768px) {

    .entries-header {

        padding: 1rem !important;

        margin-bottom: 1rem !important;

    }

    

    .entries-header h2 {

        font-size: 1.4rem !important;

        flex-direction: column !important;

        gap: 0.5rem !important;

    }

    

    .entries-info {

        flex-direction: column !important;

        gap: 0.5rem !important;

        align-items: center !important;

    }

    

    .info-item {

        min-width: 180px !important;

        justify-content: center !important;

        font-size: 0.7rem !important;

        padding: 0.4rem 0.8rem !important;

    }

}



@media (max-width: 480px) {

    .entries-header {

        padding: 0.8rem !important;

    }

    

    .entries-header h2 {

        font-size: 1.2rem !important;

    }

    

    .info-item {

        min-width: 160px !important;

        font-size: 0.65rem !important;

    }

}



/* === ULTRA COMPACT VARIJANTA === */

.entries-header.ultra-compact {

    padding: 0.8rem 1rem !important;

    margin-bottom: 1rem !important;

}



.entries-header.ultra-compact h2 {

    font-size: 1.3rem !important;

    margin-bottom: 0.5rem !important;

}



.entries-header.ultra-compact .entries-info {

    gap: 0.4rem !important;

    margin: 0.5rem 0 !important;

}



.entries-header.ultra-compact .info-item {

    font-size: 0.65rem !important;

    padding: 0.3rem 0.6rem !important;

}



/* === ONE-LINE VARIJANTA === */

.entries-header.one-line {

    display: flex !important;

    justify-content: space-between !important;

    align-items: center !important;

    padding: 1rem 1.5rem !important;

    text-align: left !important;

    gap: 1rem !important;

    flex-wrap: wrap !important;

}



.entries-header.one-line h2 {

    margin: 0 !important;

    font-size: 1.4rem !important;

}



.entries-header.one-line .entries-info {

    margin: 0 !important;

    gap: 0.3rem !important;

}



.entries-header.one-line .info-item {

    font-size: 0.6rem !important;

    padding: 0.2rem 0.5rem !important;

}



@media (max-width: 768px) {

    .entries-header.one-line {

        flex-direction: column !important;

        text-align: center !important;

        gap: 0.8rem !important;

    }

}



/* === ACCESSIBILITY === */

.info-item:focus {

    outline: 2px solid var(--primary-blue) !important;

    outline-offset: 2px !important;

}



/* === PERFORMANCE === */

.entries-header,

.info-item {

    will-change: transform !important;

    transform: translateZ(0) !important;

}

/* ===============================================
   POBOLJŠANI LOGOUT GUMB CSS
   Dodajte u knjiga_posjeta.css
   =============================================== */

.admin-logout-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.admin-logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.admin-logout-btn:hover::before {
    left: 100%;
}

.admin-logout-btn:hover {
    background: linear-gradient(135deg, #ee5a24, #c9302c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.admin-logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.admin-logout-btn:disabled {
    background: rgba(255, 107, 107, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.admin-logout-btn:disabled:hover {
    transform: none;
}

/* Loading spinner za logout */
.admin-logout-btn .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Logout text animacija */
.logout-text {
    transition: transform 0.3s ease;
}

.admin-logout-btn:hover .logout-text {
    transform: translateX(2px);
}

/* Admin header responsive */
.admin-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile responsive za logout */
@media (max-width: 768px) {
    .admin-logout-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .admin-header-right {
        justify-content: center;
        width: 100%;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .admin-logout-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        min-width: 90px;
    }
    
    .admin-logout-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Focus states za accessibility */
.admin-logout-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.admin-logout-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Animacija za spin */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}