/* Auxiliary Pages Styles */

/* Header for auxiliary pages */
.aux-header {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.aux-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aux-header .logo-brand {
    margin-bottom: 0;
}

.aux-header .brand-name {
    font-size: 1.5rem;
}

.back-link {
    color: #2D1B69;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.back-link:hover {
    background: #2D1B69;
    color: white;
}

/* Main content for auxiliary pages */
.aux-main {
    min-height: 70vh;
    padding: 3rem 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #F7F3E9 0%, #F0EAD6 100%);
}

.aux-main h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2D1B69;
}

/* About page specific styles */
.about-section {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.about-section h2 {
    color: #2D1B69;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 1.5rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* Legal pages styles */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F3F4F6;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: #2D1B69;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.legal-section p {
    color: #4A4A4A;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

/* About page enhancements */
.about-center {
    text-align: center;
}

.about-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content-with-image.reverse {
    direction: rtl;
}

.about-content-with-image.reverse > * {
    direction: ltr;
}

.about-content-with-svg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-svg {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .about-content-with-image,
    .about-content-with-svg {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content-with-image.reverse {
        direction: ltr;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-image img {
        height: 200px;
    }
}

/* Responsive adjustments for auxiliary pages */
@media (max-width: 768px) {
    .aux-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .aux-main {
        padding: 2rem 0;
    }
    
    .aux-main h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-placeholder {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .aux-header .logo-brand {
        flex-direction: row;
        gap: 12px;
    }
    
    .aux-header .brand-name {
        font-size: 1.25rem;
    }
    
    .about-section {
        padding: 1rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-placeholder {
        padding: 1.5rem;
    }
}