/**
 * Manage Profile Page Styles
 * 
 * Requires: common.css, header.css, forms.css
 */

/* ============================================================================
   PAGE LAYOUT
   ============================================================================ */

body {
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary, #666);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

.section {
    background: var(--bg-white, white);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    margin-bottom: 2rem;
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 0.25rem;
}

.section-description {
    color: var(--text-secondary, #666);
    font-size: 0.9rem;
}

/* ============================================================================
   ACCOUNT INFO DISPLAY
   ============================================================================ */

.account-info {
    background: var(--bg-gray, #f9f9f9);
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.info-label {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary, #333);
}

.expired-date {
    color: var(--brand-primary, #c41e3a);
    font-weight: 600;
}

/* ============================================================================
   SUBSCRIPTION SECTION
   ============================================================================ */

.subscription-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.subscription-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 1rem;
}

.subscription-message {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    font-weight: 400;
}

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

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

@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .section {
        padding: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .subscription-actions {
        flex-direction: column;
    }
    
    .subscription-actions .btn {
        width: 100%;
    }
}
