@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1B2A4A;
    --navy-dark: #131f38;
    --navy-light: #2a4070;
    --gold: #C8963E;
    --gold-dark: #a67a2e;
    --gold-light: #daa84e;
    --gold-bg: rgba(200, 150, 62, 0.1);
    --blue: #3B82F6;
    --blue-dark: #2563eb;
    --blue-light: #60a5fa;
    --blue-bg: rgba(59, 130, 246, 0.1);
    --pink: #EC4899;
    --pink-light: #f472b6;
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --text: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg: #faf9f7;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --border: #e8e4de;
    --border-light: #f3f0eb;
    --shadow-sm: 0 1px 2px rgba(27, 42, 74, 0.06);
    --shadow: 0 1px 3px rgba(27, 42, 74, 0.1), 0 1px 2px rgba(27, 42, 74, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(27, 42, 74, 0.1), 0 2px 4px -2px rgba(27, 42, 74, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(27, 42, 74, 0.1), 0 4px 6px -4px rgba(27, 42, 74, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(27, 42, 74, 0.12), 0 8px 10px -6px rgba(27, 42, 74, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.2s ease;
    --primary: var(--navy);
    --primary-dark: var(--navy-dark);
    --primary-light: var(--navy-light);
    --primary-bg: rgba(27, 42, 74, 0.08);
    --accent: var(--gold);
    --accent-dark: var(--gold-dark);
    --accent-bg: var(--gold-bg);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    flex: 1;
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    padding: 0 24px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(27, 42, 74, 0.3);
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

.nav-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
    background: rgba(200, 150, 62, 0.25);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    background: none;
    border: 1px solid rgba(200, 150, 62, 0.4);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    width: auto;
}

.nav-dropdown-trigger:hover {
    color: white;
    background: rgba(200, 150, 62, 0.25);
    border-color: var(--gold);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 200;
    overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu button,
.nav-dropdown-menu a {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    transform: none;
    box-shadow: none;
}

.nav-dropdown-menu button:hover,
.nav-dropdown-menu a:hover {
    background: var(--bg);
    color: var(--gold-dark);
    border-radius: 0;
    transform: none;
    box-shadow: none;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-hamburger:hover {
    background: rgba(200, 150, 62, 0.25);
}

.nav-hamburger svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy);
        border-bottom: 3px solid var(--gold);
        padding: 12px;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 4px;
    }

    .nav-dropdown-menu button,
    .nav-dropdown-menu a {
        color: rgba(255, 255, 255, 0.7);
        padding: 12px 16px;
        border-radius: 0;
        transform: none;
        box-shadow: none;
    }

    .nav-dropdown-menu button:hover,
    .nav-dropdown-menu a:hover {
        background: rgba(200, 150, 62, 0.25);
        color: white;
        border-radius: 0;
        transform: none;
        box-shadow: none;
    }

    .dropdown-divider {
        background: rgba(255, 255, 255, 0.1);
    }

    .lang-select {
        margin-left: 0 !important;
        margin-top: 8px;
        width: 100%;
    }
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, var(--gold) 100%);
    color: white;
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    text-shadow: none;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 1;
    text-shadow: none;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* ===== BUTTONS ===== */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(200, 150, 62, 0.4);
    position: relative;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 150, 62, 0.5), 0 0 0 4px rgba(200, 150, 62, 0.2);
    background: var(--gold-light);
}

button, .btn-primary, .btn-add-pet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

button:hover, .btn-primary:hover, .btn-add-pet:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 150, 62, 0.4), 0 0 0 3px var(--gold-bg);
}

.btn-add-pet {
    width: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-delete, .btn-delete-modal {
    background: linear-gradient(135deg, var(--pink) 0%, #db2777 100%);
    width: auto;
}

.btn-delete:hover, .btn-delete-modal:hover {
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4), 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.btn-edit, .btn-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--gold-bg);
    color: var(--gold-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(200, 150, 62, 0.2);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-edit:hover, .btn-small:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--text-muted);
    color: white;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 42, 74, 0.3);
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}

.btn-view-modal {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-view-modal:hover {
    background: var(--blue-dark);
}

.btn-delete-modal {
    flex: 1;
    width: auto;
    padding: 12px;
    font-size: 0.95rem;
}

.btn-extension {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    width: auto;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-extension:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}

@media (max-width: 900px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-image {
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 24px;
    border: none;
}

.feature-image h3 {
    color: white;
    font-size: 1.3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.feature-image p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ===== INFO SECTION ===== */
.info-section {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    margin: 32px 0;
}

.info-section.split {
    display: flex;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.info-image {
    flex: 1;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.info-content {
    flex: 1;
    padding: 48px;
}

.info-section h2 {
    color: var(--text);
    margin-bottom: 24px;
    font-size: 1.75rem;
    font-weight: 700;
}

.steps {
    padding-left: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    margin-bottom: 16px;
    font-size: 1.05rem;
    padding: 12px 16px 12px 52px;
    position: relative;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text-secondary);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 12px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .info-section.split {
        flex-direction: column;
    }

    .info-image {
        min-height: 250px;
    }

    .info-content {
        padding: 32px 24px;
    }
}

/* ===== HIGHLIGHT ===== */
.highlight-section {
    background: linear-gradient(135deg, var(--gold-bg) 0%, rgba(59, 130, 246, 0.06) 100%);
    color: var(--navy);
    padding: 40px;
    border-radius: var(--radius-xl);
    margin: 32px 0;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    border: 1px solid rgba(200, 150, 62, 0.2);
    font-weight: 500;
}

/* ===== AUTH BOX ===== */
.auth-box {
    max-width: 440px;
    margin: 60px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.auth-box h1 {
    text-align: center;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-box > p:first-of-type {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-bg);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input[type="file"] {
    padding: 12px;
    background: var(--bg);
    border-style: dashed;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary);
}

.current-photo {
    margin-bottom: 15px;
    text-align: center;
}

.current-photo img {
    border-radius: var(--radius);
    border: 2px solid var(--border);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.form-group-inline label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group-inline input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
}

.form-group-inline input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-bg);
}

textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text);
}

textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-bg);
}

.checkbox-group {
    margin: 16px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold);
}

.checkbox-label a {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-label a:hover {
    color: var(--gold-dark);
}

/* ===== MESSAGES ===== */
.error {
    background: var(--danger-bg);
    color: var(--danger);
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--danger);
    font-size: 0.9rem;
    font-weight: 500;
}

.success {
    background: var(--success-bg);
    color: #059669;
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--success);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== AUTH LINK ===== */
.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
}

.auth-link a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-link a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* ===== LANG ===== */
.lang-select {
    padding: 6px 10px;
    margin-left: 12px;
    border: 2px solid rgba(200, 150, 62, 0.4);
    border-radius: 8px;
    background: rgba(200, 150, 62, 0.15);
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}

.lang-select:focus {
    outline: none;
    border-color: var(--gold);
}

.lang-select option {
    color: var(--text);
    background: white;
}

.lang-box {
    margin-top: 20px;
    text-align: center;
}

.lang-box select {
    padding: 10px 14px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--gold-bg);
    color: var(--navy);
    font-weight: 500;
}

/* ===== DASHBOARD ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h1 {
    margin-bottom: 0;
}

h1 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.75rem;
    font-weight: 700;
}

/* ===== PETS TABLE ===== */
.pets-table {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.pets-table-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.pets-table-header .pets-table-row {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pets-table-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.pets-table-row:last-child {
    border-bottom: none;
}

.pets-table-body .pets-table-row:hover {
    background: var(--bg);
}

.pets-table-cell {
    padding: 0 10px;
}

.cell-photo {
    width: 50px;
    flex-shrink: 0;
    text-align: center;
}

.cell-name {
    width: 140px;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--text);
}

.cell-species {
    width: 100px;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.cell-breed {
    flex: 1;
    min-width: 100px;
    color: var(--text-secondary);
}

.cell-tag {
    width: 150px;
    flex-shrink: 0;
}

.cell-actions {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    align-items: center;
}

.pet-row-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.tag-code {
    display: inline-block;
    background: var(--navy);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.tag-code-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 48px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .cell-breed {
        display: none;
    }

    .cell-tag {
        display: none;
    }

    .cell-actions {
        width: auto;
        flex-wrap: wrap;
    }
}

/* ===== PET CARD ===== */
.pet-profile {
    background: var(--bg-card);
    padding: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
}

.pet-profile-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
}

@media (max-width: 900px) {
    .pet-profile-content {
        grid-template-columns: 1fr;
    }
}

.pet-profile-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid var(--border);
    background: var(--bg);
}

@media (max-width: 900px) {
    .pet-profile-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.pet-profile-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.04) 0%, rgba(200, 150, 62, 0.08) 100%);
    border-bottom: 1px solid var(--border);
}

.pet-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.25);
}

.pet-profile-title h1 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.5rem;
}

.pet-profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 24px;
}

.detail-card {
    background: var(--bg);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.detail-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 2px 8px rgba(200, 150, 62, 0.15);
}

.detail-card h3 {
    color: var(--gold-dark);
    font-size: 0.75rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.detail-card p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.pet-info-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    margin: 0 24px 24px;
    border: 1px solid var(--border);
}

.info-block {
    margin-bottom: 16px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h4 {
    color: var(--gold-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.contact-owner {
    text-align: center;
    padding: 30px 24px;
    border-top: 1px solid var(--border);
}

.contact-owner h3 {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.qr-section {
    text-align: center;
    padding: 30px 24px;
    border-top: 1px solid var(--border);
}

.qr-section h3 {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.qr-code {
    display: inline-block;
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    max-width: 100%;
}

.qr-code img {
    max-width: 100%;
    height: auto;
}

.qr-code canvas {
    display: block;
}

.qr-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.btn-download-qr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--success);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-download-qr:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-qr-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--text-muted);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-qr-small:hover {
    background: var(--text-secondary);
}

/* ===== PET PROFILE RIGHT ===== */
.pet-profile-right {
    padding: 24px;
}

/* ===== PET SECTIONS ===== */
.pet-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.pet-section:hover {
    box-shadow: var(--shadow-sm);
}

.pet-section-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: white;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 3px solid var(--gold);
}

.pet-section-content {
    padding: 24px;
}

.pet-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.section-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    margin-bottom: 2px;
}

.section-toggle:hover {
    border-color: var(--gold-light);
    box-shadow: 0 2px 8px rgba(200, 150, 62, 0.1);
}

.section-toggle h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.section-toggle .toggle-icon {
    font-size: 0.9rem;
    color: var(--gold);
    transition: transform 0.3s;
    background: var(--gold-bg);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.section-toggle.active .toggle-icon {
    transform: rotate(180deg);
    background: var(--gold);
    color: white;
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
}

.section-content.expanded {
    max-height: 3000px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.subsection {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-light);
}

.subsection h4 {
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    font-size: 1rem;
    font-weight: 600;
}

/* ===== ITEM LIST ===== */
.item-list {
    list-style: none;
}

.item-list li {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    border-left: 3px solid var(--primary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.item-list li:hover {
    box-shadow: var(--shadow-sm);
}

.item-list li:last-child {
    margin-bottom: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.item-title {
    font-weight: 600;
    color: var(--text);
}

.item-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.item-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.item-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.item-meta span {
    background: var(--navy);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.item-meta .frequency {
    background: var(--success-bg);
    color: var(--success);
}

.item-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

/* ===== ADD FORM ===== */
.add-btn, .form-toggle-btn {
    background: var(--blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    margin-top: 12px;
    font-family: inherit;
}

.add-btn:hover, .form-toggle-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.form-container {
    display: none;
    margin-top: 12px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-container.show {
    display: block;
}

.form-container h5 {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
}

.empty-state p {
    margin-bottom: 12px;
}

.btn-delete-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: var(--danger-bg);
    color: var(--danger);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete-item:hover {
    background: var(--danger);
    color: white;
}

/* ===== INLINE FORM ===== */
.inline-form {
    display: inline;
}

.inline-form select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
}

/* ===== ADMIN ===== */
.admin-section {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.admin-section h2 {
    color: var(--text);
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 700;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.admin-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.admin-table tr:hover {
    background: var(--bg);
}

.role-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.role-admin {
    background: var(--navy);
    color: white;
}

.role-user {
    background: var(--bg);
    color: var(--text-secondary);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: var(--success-bg);
    color: var(--success);
}

.status-inactive {
    background: var(--danger-bg);
    color: var(--danger);
}

.text-expired {
    color: var(--danger);
    font-weight: 600;
}

.row-admin {
    background: var(--gold-bg) !important;
}

.text-muted {
    color: var(--text-muted);
    font-style: italic;
}

/* ===== SETTINGS ===== */
.settings-form {
    margin-bottom: 16px;
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s;
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5vh auto;
    padding: 32px;
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s;
}

.modal-content-terms {
    max-width: 700px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.modal-header h2 {
    color: var(--text);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--pink);
    background: var(--danger-bg);
}

#expiryModal .form-group {
    margin-bottom: 20px;
}

#expiryModal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

#expiryModal .form-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}

#expiryModal .form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-bg);
}

/* ===== TERMS ===== */
.terms-body {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 10px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.terms-body h3 {
    color: var(--text);
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.terms-body h3:first-child {
    margin-top: 0;
}

.terms-body p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.terms-body::-webkit-scrollbar {
    width: 6px;
}

.terms-body::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 3px;
}

.terms-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.terms-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== ACCOUNT EXPIRY ===== */
.account-expiry-info {
    margin-bottom: 24px;
}

.info-box {
    background: var(--gold-bg);
    border: 1px solid rgba(200, 150, 62, 0.25);
    padding: 16px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.info-box strong {
    color: var(--navy);
}

/* ===== PROMO STAR ===== */
.promo-star {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    margin: 0 0 20px 20px;
    animation: pulse-star 2s ease-in-out infinite;
    z-index: 1;
}

.promo-star-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.promo-star-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    pointer-events: none;
}

.promo-star .promo-title {
    font-size: 0.85rem;
    font-weight: 900;
    color: #4a1f00;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.promo-star .promo-subtitle {
    font-size: 0.6rem;
    color: #6a3000;
    line-height: 1.2;
    font-weight: 600;
}

.promo-star .promo-subtitle s {
    text-decoration: line-through;
    text-decoration-color: #c62828;
    text-decoration-thickness: 2px;
    color: #a03030;
}

.promo-star .promo-price {
    font-size: 1rem;
    font-weight: 900;
    color: #b71c1c;
    line-height: 1.1;
}

@keyframes pulse-star {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.promo-star-wrapper {
    display: flex;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .promo-star-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .promo-star {
        margin: 20px auto;
        width: 160px;
        height: 160px;
    }

    .promo-star-inner {
        width: 120px;
    }

    .promo-star .promo-title {
        font-size: 0.7rem;
    }

    .promo-star .promo-subtitle {
        font-size: 0.5rem;
    }

    .promo-star .promo-price {
        font-size: 0.8rem;
    }
}

/* ===== ERROR CONTAINER ===== */
.error-container {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 40px auto;
}

.error-container h2 {
    color: var(--pink);
    margin-bottom: 12px;
}

.error-container p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===== WEIGHT CHART (pet.php inline) ===== */
.weight-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 150px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    margin-top: 15px;
    border: 1px solid var(--border-light);
}

.weight-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--gold) 0%, var(--navy) 100%);
    border-radius: 6px 6px 0 0;
    position: relative;
    min-width: 30px;
    transition: var(--transition);
}

.weight-bar:hover {
    opacity: 0.85;
}

.weight-bar:hover::after {
    content: attr(data-weight) ' kg';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 4px;
}

/* ===== CAPTCHA ===== */
.captcha-group .captcha-question {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.field-hint {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.85rem;
}

/* ===== CONTACT FORM ===== */
.contact-form-container {
    margin-top: 16px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-form-container .form-group {
    margin-bottom: 12px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: var(--transition);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-bg);
}

/* ===== SEVERITY ===== */
.severity-mild { color: var(--success); font-weight: 600; }
.severity-moderate { color: var(--warning); font-weight: 600; }
.severity-severe { color: var(--danger); font-weight: 600; }

/* ===== FOOTER ===== */
footer {
    background: var(--navy);
    color: white;
    margin-top: auto;
    padding: 0;
    border-top: 3px solid var(--gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: left;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 100%;
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-lang {
    padding: 10px 14px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: rgba(200, 150, 62, 0.15);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.footer-lang:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-lang option {
    color: var(--text);
    background: white;
}

.footer-bottom {
    border-top: 1px solid rgba(200, 150, 62, 0.3);
    text-align: center;
    padding: 20px 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== PET ACTIONS ===== */
.pet-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pet-actions form {
    flex: 1;
}

.pet-actions .btn-edit {
    flex: 1;
    text-align: center;
}

.pet-actions .btn-delete {
    margin-top: 0;
}

.pet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.pet-header h3 {
    color: var(--text);
    flex: 1;
    font-size: 1rem;
}

.pet-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.pet-details p {
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE GLOBAL ===== */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .hero {
        padding: 60px 16px;
    }

    .info-section {
        padding: 24px;
    }

    .auth-box {
        margin: 32px auto;
        padding: 28px;
    }

    .admin-section {
        padding: 20px;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: #fff;
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--gold);
    color: var(--navy);
    padding: 8px 20px;
}

.cookie-btn-accept:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.cookie-btn-close {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.cookie-btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cookie-banner-hidden {
    display: none;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 14px 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cookie-banner-content p {
        font-size: 0.85rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}
