/* --- ACCOUNT GATEWAY PAGE SPECIFIC STYLES --- */

.account-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 8%;
    background: var(--light-grey);
}

.account-container {
    width: 100%;
    max-width: 950px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 1px solid var(--border-color);
}

/* Left Promo Side */
.account-promo {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(17, 17, 17, 0.95) 100%), 
                url('https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=800&q=80') center center/cover;
    color: #ffffff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-header .logo-container-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.promo-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.promo-header h2 span {
    color: var(--primary-red);
}

.promo-header p {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.promo-features {
    list-style: none;
}

.promo-features li {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.promo-features li::before {
    content: '✓';
    color: #00ff66;
    font-weight: 900;
    font-size: 16px;
}

.promo-footer {
    font-size: 12px;
    color: #888888;
    border-top: 1px solid #333333;
    padding-top: 20px;
    margin-top: 40px;
}

/* Right Form Side */
.account-form-side {
    background: #ffffff;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
}

/* Tab Switch Controls */
.account-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 35px;
    gap: 20px;
}

.account-tab-btn {
    padding: 12px 10px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.account-tab-btn:hover {
    color: var(--primary-red);
}

.account-tab-btn.active {
    color: var(--primary-red);
}

.account-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
}

/* Forms layout */
.form-panel {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-panel.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 25px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
}

.form-options a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.form-options a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
}

.form-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    .account-container {
        grid-template-columns: 1fr;
    }
    .account-promo {
        display: none; /* Hide promo sidebar on tablets/mobiles to keep interface compact */
    }
    .account-page-wrapper {
        padding: 40px 4%;
    }
    .account-form-side {
        padding: 45px 30px;
    }
}
