﻿body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    padding-top: 25px;
}



form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {color: var(--text-primary)!important;}

.card { color: var(--text-primary); }

.cf-turnstile {margin-bottom: 20px; border-radius: 10px; overflow: hidden;}
.grecaptcha-badge { visibility: hidden; }

/* ── Wrapper ── */
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
    padding: 0;
    position: relative;
    z-index: 1;
    animation: fadeSlideUp 0.6s ease both;
}

.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--accent-gold-glow);
    border: 1px solid rgba(200, 160, 80, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 24px;
}

.info-banner-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-banner-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.info-banner-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

    .info-banner-text ul {margin: 0; padding: 0; list-style: none; text-align: left;}


.info-banner i.bi { }

.email-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-highlight);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 18px;
}

/* Logo */
.brand {
    margin-bottom: 32px;
    text-align: center;
}
.logo-text {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo-text .repor { font-style: italic; color: #fff; }
.logo-text .tv {
    color: var(--gold);
    font-weight: 800;
    font-size: 26px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1px;
}

/* Card */
.card {
    position: relative!important;
    background: var(--card-bg);
    border: 1px solid var(--card-border)!important;
    border-radius: 12px!important;
    margin-bottom: 40px; 
    padding: 40px 36px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.08);
    overflow: hidden;
    animation: fadeSlideUp 0.6s ease-out backwards;
}
.card::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 12px 12px 0 0;
}

.card-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Icon circle */
.icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(201,162,39,0.12);
    border: 1.5px solid rgba(201,162,39,0.3);
    color: var(--gold);
}

.card-header { text-align: center; margin-bottom: 36px; }
.card-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.card-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Buttons */
.btn-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }


.footer-tag {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 500px) {
    .card {max-width: 340px; padding: 32px 24px; }
    .card-header h1 { font-size: 21px; }
    .btn-primary, .btn-secondary, .btn-outline-primary { font-size: 14px; padding: 14px; }
}

/* ── Step Header ── */
.step-header {
    text-align: center;
    margin-bottom: 28px;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(200, 160, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--accent-gold);
}

    .step-icon i.bi {font-size: 26px;}

.step-icon svg {
    stroke: var(--accent-gold);
}

.step-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-subtitle strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ── Form Fields ── */
.field-group {
    margin-bottom: 18px;
}

.lf-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.input-field {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.input-field::placeholder {
    color: var(--text-muted);
}

.input-field:focus {
    border-color: var(--accent-gold);  /* was --border-input-focus which is 50% opacity */
    box-shadow: 0 0 0 3px rgba(200, 160, 80, 0.3);  /* was 0.15 */
}

/* ── Error Message ── */
.error-msg {
    display: block;
    margin-top: 16px;
    margin-bottom: 32px;
    padding: 12px 16px;
    background: rgba(255, 69, 58, 0.08);
    border: 1px solid rgba(255, 69, 58, 0.2);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-red);
    text-align: left;
    line-height: 1.5;
}

/* ── Forgot / Register Link ── */
.forgot-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.forgot-link a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-link a:hover {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

.dividerOr {
            display: flex;
            align-items: center;
            margin: 24px 0!important;
            color: #9ca3af;
            font-size: 14px;
        }

        .dividerOr::before,
        .dividerOr::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e5e7eb;
        }

.login-footer { text-align: center; padding: 32px 24px; font-size: 12px; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; opacity: 0.7; }

.passwordEnter {position: relative;}
.show-password {position: absolute; right: 10px; top: 10px;}
    .show-password input[type="checkbox"], .show-password i.bi {position: absolute; right: 0; top: 0;}
    .show-password input[type="checkbox"] {opacity: 0;}
    .show-password i.bi {font-size: 1.5em;}





/* ═══ REGISTRATION GREEN THEME OVERRIDE ═══ */
:root {
    --accent-green: #3ecf8e;
    --accent-green-light: #5ae0a5;
    --accent-green-glow: rgba(62, 207, 142, 0.15);
}

/*.card::before {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-green-light), var(--accent-green));
}*/

/*.step-icon {
    background: var(--accent-green-glow);
    border-color: rgba(62, 207, 142, 0.2);
}*/

/*.step-icon svg {
    stroke: var(--accent-green);
}*/

.input-field:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.3);
}

/*.btn-login {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    box-shadow: 0 4px 24px rgba(62, 207, 142, 0.25);
}

.btn-login:hover {
    box-shadow: 0 8px 32px rgba(62, 207, 142, 0.35);
}*/

.forgot-link a {
    color: var(--accent-green);
}

.forgot-link a:hover {
    color: var(--accent-green-light);
}

.info-banner {
    background: var(--accent-green-glow);
    border-color: rgba(62, 207, 142, 0.2);
}

.info-banner svg {
    stroke: var(--accent-green);
}


/* ============================================================
   reporTV — Password Reset Page Additions
   Extends register.css for the reset-password states
   ============================================================ */

/* ── Error state icon (red "X" circle) ── */
.step-icon--error {
    background: rgba(255, 69, 58, 0.12);
    border-color: rgba(255, 69, 58, 0.25);
}

.step-icon--error svg {
    stroke: var(--accent-red);
}

/* ── Success state icon (green check) ── */
.step-icon--success {
    background: rgba(52, 199, 89, 0.12);
    border-color: rgba(52, 199, 89, 0.25);
}

.step-icon--success svg {
    stroke: #34c759;
}

/* ── Card top-bar color per state ── */
.step-icon--error ~ .step-title {
    color: var(--text-primary);
}

/* Override the green accent bar for error state card */
.step-icon--error {
    /* Parent card keeps default green bar from register.css;
       if you need a red bar, add .card--error to the card div
       and use the rule below. */
}

/* Optional: red top bar for the invalid-token card */
/*
.card--error::before {
    background: linear-gradient(90deg, var(--accent-red), #ff6b6b, var(--accent-red));
}
*/

/* ── Anchor styled as btn-login (for "Request a New Link" / "Sign In") ── */
.reset-link-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--bg-deep);
    box-shadow: 0 4px 24px rgba(200, 160, 80, 0.25);
    margin-top: 6px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.reset-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(200, 160, 80, 0.35);
    text-decoration: none;
    color: var(--bg-deep);
}



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