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

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

:root {
    /* amaziggy Design System - Primary Tokens */
    --azg-bg: #FAF7F2;
    --azg-text: #111827;
    --azg-muted: #6B7280;
    --azg-gold: #C88A2B;
    --azg-border: #E5DFD3;
    --azg-card: #FFFFFF;
    
    /* Typography */
    --azg-heading-font: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --azg-body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Border Radius */
    --azg-radius-sm: 8px;
    --azg-radius-md: 12px;
    --azg-radius-lg: 16px;
    --azg-radius-pill: 999px;
    
    /* Shadows */
    --azg-shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
    --azg-shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Translucent Accents */
    --azg-gold-light: rgba(200, 138, 43, 0.08);
    --azg-gold-lighter: rgba(200, 138, 43, 0.04);
    --azg-overlay-dark: rgba(0, 0, 0, 0.7);
    --azg-overlay-darker: rgba(0, 0, 0, 0.9);
    --azg-overlay-modal: rgba(0, 0, 0, 0.5);
    
    /* Legacy variable mappings - TODO: Migrate all usages to --azg-* tokens */
    --amaziggy-gold: var(--azg-gold);
    --night-oasis: var(--azg-text);
    --text-secondary: var(--azg-muted);
    --primary-gold: var(--azg-gold);
    --soft-cream: var(--azg-card);
    --bone-white: var(--azg-bg);
    --sahara-sand: var(--azg-card);
    --background-cream: var(--azg-bg);
    --text-primary: var(--azg-text);
    --shadow-soft: var(--azg-shadow-soft);
    --shadow-medium: var(--azg-shadow-medium);
    --warm-beige: var(--azg-border);
    
    /* Blues/greens to be replaced with gold or neutral - DO NOT USE */
    --tuareg-indigo: var(--azg-text);
    --atlas-green: var(--azg-gold);
    --dark-navy: var(--azg-text);
    --light-navy: var(--azg-text);
}

body {
    font-family: var(--azg-body-font);
    background: var(--azg-bg);
    color: var(--azg-text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--azg-heading-font);
    color: var(--azg-text);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-family: var(--azg-heading-font);
    font-size: 4rem;
    font-weight: 700;
    color: var(--azg-text);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--azg-text);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-tagline {
    font-family: var(--azg-heading-font);
    font-size: 1.5rem;
    color: var(--azg-gold);
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

/* Primary Button - Pill Style CTA */
.hero-cta,
.primary-btn {
    padding: 1.125rem 3rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--azg-body-font);
    box-shadow: var(--azg-shadow-soft);
}

.hero-cta:hover,
.primary-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-2px);
    box-shadow: var(--azg-shadow-medium);
}

/* Form Section */
.form-section {
    padding: 4rem 2rem;
    background: var(--azg-bg);
}

/* Card Styling - Unified */
.trip-form,
.content-card,
.blog-post-content {
    background: var(--azg-card);
    padding: 2rem;
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-soft);
    margin-bottom: 2rem;
}

.trip-form {
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--azg-text);
    font-size: 0.95rem;
}

/* Form Inputs - Unified */
input, select, textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--azg-border);
    border-radius: var(--azg-radius-md);
    font-family: var(--azg-body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--azg-card);
    color: var(--azg-text);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--azg-gold);
    box-shadow: 0 0 0 3px var(--azg-gold-light);
}

textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1.125rem 2rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--azg-body-font);
    box-shadow: var(--azg-shadow-soft);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--azg-shadow-medium);
    background: var(--azg-gold);
    color: var(--azg-card);
}

.submit-btn:active {
    transform: translateY(0);
}

.field-hint {
    font-size: 0.875rem;
    color: var(--azg-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.photo-upload-zone {
    border: 2px dashed var(--azg-border);
    border-radius: var(--azg-radius-md);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--azg-card);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-upload-zone:hover {
    border-color: var(--azg-gold);
    background: var(--azg-card);
}

.photo-upload-zone.drag-over {
    border-color: var(--azg-gold);
    background: var(--azg-card);
    transform: scale(1.01);
}

.upload-prompt {
    pointer-events: none;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--azg-gold);
    margin: 0 auto 1rem;
}

.upload-text {
    font-size: 1.125rem;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
}

.upload-link {
    color: var(--azg-gold);
    font-weight: 600;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--azg-muted);
}

.photo-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photo-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--azg-radius-md);
    overflow: hidden;
    background: var(--azg-card);
    border: 1px solid var(--azg-border);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    background: var(--azg-overlay-dark);
    color: var(--azg-card);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.photo-preview-remove:hover {
    background: var(--azg-overlay-darker);
    transform: scale(1.1);
}

/* Secondary Button - Text Style */
.secondary-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--azg-text);
    border: none;
    border-radius: var(--azg-radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--azg-body-font);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.secondary-btn:hover {
    color: var(--azg-gold);
    border-bottom-color: var(--azg-gold);
    transform: none;
}

.loading-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--azg-card);
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-medium);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--azg-border);
    border-top-color: var(--azg-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.25rem;
    color: var(--azg-muted);
}

.hidden {
    display: none !important;
}

.results-section {
    animation: fadeIn 0.5s ease-in;
}

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

.results-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.trip-summary {
    background: var(--azg-card);
    color: var(--azg-text);
    padding: 2.5rem;
    border-radius: var(--azg-radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--azg-shadow-soft);
    border: 1px solid var(--azg-border);
}

.trip-summary h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trip-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.trip-meta span {
    opacity: 0.9;
}

.weather-info {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.persona-info {
    font-size: 1rem;
    opacity: 0.85;
    font-style: italic;
}

.content-card h3 {
    font-family: var(--azg-heading-font);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--azg-text);
}

.packing-category {
    margin-bottom: 2rem;
}

.packing-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--azg-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.packing-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.packing-item:hover {
    background: var(--azg-card);
}

.packing-item input[type="checkbox"] {
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 500;
    color: var(--azg-text);
}

.item-quantity {
    color: var(--azg-gold);
    font-weight: 600;
    margin-left: 0.5rem;
}

.item-notes {
    font-size: 0.9rem;
    color: var(--azg-muted);
    margin-top: 0.25rem;
}

.prep-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.prep-item:hover {
    background: var(--azg-card);
}

.prep-item input[type="checkbox"] {
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gear-card {
    background: var(--azg-card);
    padding: 1.5rem;
    border-radius: var(--azg-radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--azg-border);
}

.gear-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--azg-shadow-medium);
    border-color: var(--azg-gold);
}

.gear-image {
    width: 100%;
    height: 200px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: var(--azg-bg);
}

.gear-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gear-card:hover .gear-image img {
    transform: scale(1.05);
}

.gear-category-tag {
    display: inline-block;
    background: var(--azg-gold);
    color: var(--azg-text);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.gear-brand {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--azg-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.gear-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
}

.gear-description {
    font-size: 0.875rem;
    color: var(--azg-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-style: italic;
}

.gear-why {
    font-size: 0.95rem;
    color: var(--azg-text);
    margin-bottom: 1rem;
    line-height: 1.5;
    padding: 0.75rem;
    background: var(--azg-gold-light);
    border-radius: 8px;
    border-left: 3px solid var(--azg-gold);
}

.gear-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-band {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--azg-gold);
}

.price-usd {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--azg-text);
}

.buy-btn {
    padding: 0.625rem 1.5rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    text-decoration: none;
    border-radius: var(--azg-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.buy-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-1px);
    box-shadow: var(--azg-shadow-soft);
}

.section-description {
    font-size: 0.95rem;
    color: var(--azg-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.phrases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.phrase-card {
    background: var(--azg-card);
    padding: 1.25rem;
    border-radius: var(--azg-radius-lg);
    border: 1px solid var(--azg-border);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.phrase-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--azg-shadow-medium);
    border-color: var(--azg-gold);
}

.phrase-local {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
}

.phrase-english {
    font-size: 0.95rem;
    color: var(--azg-muted);
    margin-bottom: 0.5rem;
}

.phrase-pronunciation {
    font-size: 0.875rem;
    color: var(--azg-gold);
    font-style: italic;
}

.copy-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--azg-gold);
    color: var(--azg-card);
    padding: 0.5rem 1rem;
    border-radius: var(--azg-radius-md);
    font-weight: 600;
    display: none;
    z-index: 10;
}

.actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--azg-body-font);
}

.action-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-1px);
    box-shadow: var(--azg-shadow-soft);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .trip-form {
        padding: 2rem 1.5rem;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        font-size: 1rem;
        padding: 1rem 2.5rem;
    }
    
    .nav-logo-img {
        height: 32px;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .gear-grid {
        grid-template-columns: 1fr;
    }
    
    .phrases-grid {
        grid-template-columns: 1fr;
    }
    
    .trip-summary h2 {
        font-size: 1.5rem;
    }
}

/* Navbar - Unified */
.nav-bar {
    background: var(--azg-card);
    border-bottom: 1px solid var(--azg-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--azg-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--azg-gold);
}

.nav-link.active {
    color: var(--azg-text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--azg-gold);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-line {
    width: 2rem;
    height: 0.2rem;
    background: var(--azg-text);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: 1px;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo-img {
        height: 32px;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--azg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-link.active::after {
        bottom: -2px;
        height: 2px;
    }
    
    .nav-link-signup {
        background: var(--azg-gold);
        color: var(--azg-night);
        padding: 0.75rem 1.5rem;
        border-radius: var(--azg-radius-full);
        text-align: center;
        font-weight: 600;
        margin-top: 1rem;
    }
    
    .nav-link-signup:hover {
        color: var(--azg-night);
        opacity: 0.9;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
    }
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    color: var(--azg-muted);
    font-size: 1.125rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--azg-card);
    border-radius: var(--azg-radius-lg);
    padding: 2rem;
    border: 1px solid var(--azg-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--azg-shadow-medium);
    border-color: var(--azg-gold);
}

.blog-card-category {
    color: var(--azg-gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--azg-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: var(--azg-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--azg-muted);
    font-size: 0.875rem;
}

.blog-card-read {
    color: var(--azg-gold);
    font-weight: 600;
}

.back-btn {
    background: none;
    border: none;
    color: var(--azg-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: var(--azg-gold);
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-category {
    color: var(--azg-gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.blog-post-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--azg-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    color: var(--azg-muted);
    font-size: 0.9rem;
}

.blog-post-body {
    line-height: 1.8;
    color: var(--azg-text);
}

.blog-post-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--azg-border);
    text-align: center;
}

.blog-post-cta h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
}

.cta-btn {
    padding: 1rem 2rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-2px);
    box-shadow: var(--azg-shadow-medium);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: var(--azg-card);
    padding: 2rem;
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-soft);
    border: 1px solid var(--azg-border);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azg-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--azg-muted);
    font-size: 0.9rem;
}

.admin-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.admin-table {
    background: var(--azg-card);
    padding: 1.5rem;
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-soft);
    margin-bottom: 2rem;
    border: 1px solid var(--azg-border);
}

.admin-table-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--azg-border);
}

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

.admin-table-label {
    font-weight: 500;
    text-transform: capitalize;
}

.admin-table-value {
    color: var(--azg-gold);
    font-weight: 600;
}

.email-signup-card {
    background: var(--azg-card);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-lg);
    padding: 2rem;
}

.email-signup-desc {
    color: var(--azg-muted);
    margin-bottom: 1.5rem;
}

.email-signup-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-signup-form input[type="email"] {
    flex: 1;
}

.email-submit-btn {
    padding: 0.875rem 1.5rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-submit-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-2px);
    box-shadow: var(--azg-shadow-soft);
}

.email-success {
    color: var(--azg-gold);
    font-weight: 600;
}

.email-error {
    color: var(--azg-muted);
    font-weight: 600;
}

.trip-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.share-btn {
    padding: 0.875rem 1.5rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-1px);
    box-shadow: var(--azg-shadow-soft);
}

.share-icon {
    font-size: 1.2rem;
}

.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--azg-overlay-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.share-modal-content {
    background: var(--azg-card);
    padding: 2rem;
    border-radius: var(--azg-radius-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.share-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--azg-muted);
}

.share-url-container {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.share-url-container input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--azg-border);
    border-radius: var(--azg-radius-md);
}

.copy-share-btn {
    padding: 0.75rem 1.5rem;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    border-radius: var(--azg-radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-share-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-1px);
    box-shadow: var(--azg-shadow-soft);
}

.share-social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-share-btn {
    flex: 1;
    padding: 0.875rem;
    border-radius: var(--azg-radius-md);
    text-align: center;
    text-decoration: none;
    background: var(--azg-card);
    color: var(--azg-gold);
    border: 2px solid var(--azg-gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-share-btn:hover {
    background: var(--azg-gold);
    color: var(--azg-card);
    transform: translateY(-2px);
    box-shadow: var(--azg-shadow-soft);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .trip-form {
        padding: 2rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .gear-grid {
        grid-template-columns: 1fr;
    }
    
    .phrases-grid {
        grid-template-columns: 1fr;
    }
    
    .trip-summary h2 {
        font-size: 1.5rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-content {
        padding: 2rem 1.5rem;
    }
    
    .email-signup-form {
        flex-direction: column;
    }
    
    .share-social-buttons {
        flex-direction: column;
    }
    
    .trip-history-container {
        grid-template-columns: 1fr;
    }
}

.history-section {
    max-width: 1200px;
    margin: 0 auto;
}

.history-header {
    margin-bottom: 3rem;
}

.history-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
}

.history-subtitle {
    font-size: 1.125rem;
    color: var(--azg-muted);
}

.trip-history-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.trip-history-card {
    background: var(--azg-card);
    padding: 1.5rem;
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-soft);
    border: 1px solid var(--azg-border);
    transition: all 0.3s ease;
}

.trip-history-card:hover {
    box-shadow: var(--azg-shadow-medium);
    transform: translateY(-4px);
}

.trip-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.trip-history-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--azg-text);
    margin: 0;
    flex: 1;
}

.delete-trip-btn {
    background: none;
    border: none;
    color: var(--azg-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.delete-trip-btn:hover {
    background: var(--azg-gold-light);
    color: var(--azg-gold);
}

.trip-history-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.trip-dates {
    font-size: 0.95rem;
    color: var(--azg-text);
    font-weight: 500;
}

.trip-type {
    display: inline-block;
    background: var(--azg-gold-light);
    color: var(--azg-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.trip-history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--azg-border);
}

.trip-saved-date {
    font-size: 0.875rem;
    color: var(--azg-muted);
}

.trip-actions {
    display: flex;
    gap: 0.5rem;
}

.trip-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--azg-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
    background: transparent;
}

.trip-btn-view {
    color: var(--azg-gold);
    border-color: var(--azg-gold);
}

.trip-btn-view:hover {
    background: var(--azg-gold);
    color: var(--azg-night);
}

.trip-btn-delete {
    color: #E57373;
    border-color: #E57373;
}

.trip-btn-delete:hover {
    background: #E57373;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--azg-card);
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-soft);
}

.empty-state p {
    font-size: 1.125rem;
    color: var(--azg-muted);
    margin-bottom: 2rem;
}

/* ===== AUTHENTICATION UI (Robinhood-style) ===== */

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--azg-overlay-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal {
    background: var(--azg-card);
    border-radius: var(--azg-radius-lg);
    padding: 2.5rem;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.setup-modal {
    max-width: 480px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--azg-muted);
    font-size: 0.95rem;
}

.auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--azg-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.2s;
}

.auth-close:hover {
    color: var(--azg-text);
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-weight: 500;
    color: var(--azg-text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--azg-border);
    border-radius: var(--azg-radius-sm);
    font-size: 1rem;
    font-family: var(--azg-body-font);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--azg-bg);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--azg-gold);
    box-shadow: 0 0 0 3px rgba(200, 138, 43, 0.1);
}

.btn-auth {
    width: 100%;
    padding: 0.95rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    border-radius: var(--azg-radius-pill);
}

.auth-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
    min-height: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--azg-muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--azg-border);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-oauth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--azg-border);
    background: var(--azg-card);
    color: var(--azg-text);
    border-radius: var(--azg-radius-pill);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--azg-body-font);
}

.btn-oauth:not(:disabled):hover {
    border-color: var(--azg-gold);
    background: var(--azg-gold-lighter);
}

.btn-oauth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-toggle {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--azg-muted);
}

.auth-toggle a {
    color: var(--azg-gold);
    text-decoration: none;
    font-weight: 500;
}

.auth-toggle a:hover {
    text-decoration: underline;
}

/* Profile Dropdown */

.nav-link-signup {
    background: var(--azg-gold);
    color: var(--azg-text);
    padding: 0.5rem 1.25rem;
    border-radius: var(--azg-radius-pill);
    font-weight: 500;
}

.nav-link-signup:hover {
    background: var(--azg-gold);
    opacity: 0.9;
    color: var(--azg-text);
}

.nav-profile {
    position: relative;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--azg-radius-pill);
    transition: background 0.2s;
    font-family: var(--azg-body-font);
}

.nav-profile-btn:hover {
    background: var(--azg-gold-light);
}

.profile-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--azg-gold);
    color: var(--azg-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.profile-name {
    color: var(--azg-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--azg-card);
    border-radius: var(--azg-radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.profile-dropdown-header > div:last-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.profile-initials-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--azg-gold);
    color: var(--azg-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.profile-dropdown-name {
    font-weight: 600;
    color: var(--azg-text);
    font-size: 0.95rem;
}

.profile-dropdown-email {
    font-size: 0.85rem;
    color: var(--azg-muted);
    margin-top: 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.profile-dropdown-divider {
    height: 1px;
    background: var(--azg-border);
    margin: 0.25rem 0;
}

.profile-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--azg-text);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.profile-dropdown-item:hover {
    background: var(--azg-gold-light);
}

@media (max-width: 768px) {
    .profile-name {
        display: none;
    }
    
    .profile-dropdown {
        position: static;
        width: 100%;
        min-width: auto;
        max-width: none;
        margin-top: 0.5rem;
        transform: none !important;
    }
    
    .profile-dropdown.show {
        transform: none !important;
    }
    
    .nav-profile {
        width: 100%;
    }
    
    .auth-modal {
        padding: 2rem 1.5rem;
    }
}

@media print {
    body {
        background: var(--azg-card);
    }
    
    .nav-bar,
    .results-header,
    .buy-btn,
    .actions,
    .share-btn,
    .email-signup-card {
        display: none !important;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid var(--azg-border);
    }
}

/* Blog Management Admin UI */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--azg-border);
}

.admin-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--azg-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--azg-body-font);
    font-size: 1rem;
}

.admin-tab:hover {
    color: var(--azg-gold);
}

.admin-tab.active {
    color: var(--azg-text);
    border-bottom-color: var(--azg-gold);
}

.blog-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.blog-admin-header h3 {
    font-size: 1.5rem;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--azg-card);
    border: 1px solid var(--azg-border);
    border-radius: var(--azg-radius-md);
    gap: 1rem;
}

.blog-post-item-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.blog-post-item-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--azg-muted);
}

.blog-post-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.blog-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--azg-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-draft {
    background: var(--azg-gold-light);
    color: var(--azg-gold);
}

.badge-published {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.blog-editor {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--azg-card);
    border: 1px solid var(--azg-border);
    border-radius: var(--azg-radius-md);
}

.blog-editor.hidden {
    display: none;
}

.blog-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--azg-border);
}

.blog-editor-ai {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--azg-gold-light);
    border-radius: var(--azg-radius-md);
}

.blog-editor-ai h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.blog-post-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--azg-text);
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--azg-border);
    border-radius: var(--azg-radius-sm);
    font-family: var(--azg-body-font);
    font-size: 1rem;
    background: var(--azg-bg);
    color: var(--azg-text);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--azg-gold);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row > * {
    flex: 1;
}

.blog-editor-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--azg-radius-pill);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--azg-body-font);
    font-size: 1rem;
}

.btn-primary {
    background: var(--azg-gold);
    color: var(--azg-text);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--azg-shadow-soft);
}

.btn-secondary {
    background: var(--azg-bg);
    color: var(--azg-text);
    border: 1px solid var(--azg-border);
}

.btn-secondary:hover {
    background: var(--azg-gold-light);
}

.btn-danger {
    background: #EF4444;
    color: white;
}

.btn-danger:hover {
    background: #DC2626;
}

.site-footer {
    background-color: var(--azg-sand);
    border-top: 1px solid var(--azg-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--azg-text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--azg-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--azg-gold);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.hidden {
    display: none;
}

.modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--azg-bg);
    padding: 2rem;
    border-radius: var(--azg-radius-lg);
    box-shadow: var(--azg-shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    color: var(--azg-text);
    margin: 0 0 0.5rem 0;
    font-family: var(--azg-heading-font);
}

.modal-subtitle {
    color: var(--azg-text-muted);
    margin: 0 0 1.5rem 0;
    font-size: 0.875rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--azg-text-muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close:hover {
    color: var(--azg-text);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--azg-text);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--azg-border);
    border-radius: var(--azg-radius-sm);
    font-family: var(--azg-body-font);
    font-size: 1rem;
    background: var(--azg-bg);
    color: var(--azg-text);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azg-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--azg-radius-sm);
    font-size: 0.875rem;
    text-align: center;
}

.form-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
