/* ============================================
   SHARED PAGE STYLES - Login, Register, Account, Static
   ============================================ */

.page-section {
    padding: 48px 0 64px;
    background: #f5f5f5;
    min-height: 60vh;
}

.page-content-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* Auth forms - Login / Register */
.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
}

.auth-card .form-label {
    font-weight: 600;
    color: #333;
}

.auth-card .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 14px;
}

.auth-card .form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.15);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-options .form-check-input {
    accent-color: var(--primary-pink);
}

.auth-options a {
    color: var(--primary-pink);
    text-decoration: none;
    font-size: 14px;
}

.auth-options a:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--primary-pink);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-auth:hover {
    background: var(--primary-pink-dark);
    color: #fff;
}

.auth-footer {
    text-align: center;
    font-size: 15px;
    color: #666;
}

.auth-footer a {
    color: var(--primary-pink);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Account dashboard */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.account-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.account-sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-pink);
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.account-nav a:last-child {
    border-bottom: none;
}

.account-nav a:hover,
.account-nav a.active {
    color: var(--primary-pink);
}

.account-main {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.account-main h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.dashboard-welcome {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.dashboard-welcome p {
    color: #666;
    margin: 4px 0 0 0;
}

.order-history-table {
    width: 100%;
    border-collapse: collapse;
}

.order-history-table th,
.order-history-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.order-history-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.order-history-table .order-id {
    font-weight: 600;
    color: var(--primary-pink);
}

.order-history-table .status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-delivered { background: #d4edda; color: #155724; }
.status-processing { background: #fff3cd; color: #856404; }
.status-shipped { background: #cce5ff; color: #004085; }

.btn-view-order {
    padding: 6px 14px;
    font-size: 13px;
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-view-order:hover {
    background: var(--primary-pink);
    color: #fff;
}

/* Static content - About, Contact, Terms, Privacy */
.static-page-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.static-page-card h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-pink);
}

.static-page-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 12px 0;
    color: #333;
}

.static-page-card p,
.static-page-card li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.static-page-card ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
}

.contact-form .form-control,
.contact-form textarea {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 14px;
}

.contact-info-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 24px;
    margin-top: 24px;
}

.contact-info-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-info-box p {
    margin: 4px 0;
    font-size: 15px;
}

@media (max-width: 991px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    .account-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .auth-card,
    .static-page-card {
        padding: 24px;
    }
    .static-page-card {
        padding: 24px;
    }
}
