/* auth.css - Login & Signup page (style.css ke saath use hota hai: navbar, dark mode wahi se aate hain) */

.auth-section {
    min-height: calc(100vh - 100px);
    padding: 40px 7%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(circle at 80% 20%, rgba(229, 9, 20, 0.10), transparent 55%);
}

.auth-box {
    width: 100%;
    max-width: 440px;
    padding: 36px 32px;

    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.auth-box h1 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.auth-box h1 span {
    color: #e50914;
}

.auth-sub {
    margin: 8px 0 26px;
    text-align: center;
    font-size: 14px;
    color: #666666;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.auth-field input {
    width: 100%;
    padding: 12px 14px;

    font-family: inherit;
    font-size: 15px;
    color: inherit;

    background: #f8f8f8;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
    border-color: #e50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

/* ===== Password: eye button (show / hide) ===== */
.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 52px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8a8a8a;

    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.toggle-password:hover {
    color: #e50914;
    background: rgba(229, 9, 20, 0.08);
}

.toggle-password:focus-visible {
    outline: 2px solid #e50914;
    outline-offset: 1px;
}

.toggle-password.is-visible {
    color: #e50914;
}

/* eye (dikha do)  <->  eye-off (chhupa do) */
.toggle-password .icon-eye-off {
    display: none;
}

.toggle-password.is-visible .icon-eye {
    display: none;
}

.toggle-password.is-visible .icon-eye-off {
    display: block;
}

/* Edge browser ka apna eye icon hata do, taaki do na dikhen */
.password-wrap input::-ms-reveal,
.password-wrap input::-ms-clear {
    display: none;
}

.auth-submit {
    width: 100%;
    padding: 13px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;

    background: #e50914;
    border: none;
    border-radius: 10px;
    cursor: pointer;

    transition: background 0.2s ease, transform 0.1s ease;
}

.auth-submit:hover {
    background: #c40812;
}

.auth-submit:active {
    transform: scale(0.98);
}

.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-status {
    min-height: 20px;
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
}

.auth-status.error {
    color: #d93025;
}

.auth-status.success {
    color: #1e8e3e;
}

.auth-switch {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: #666666;
}

.auth-switch a {
    color: #e50914;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}


/* ===== Dark mode ===== */
body.dark .auth-box {
    background: #1a1a1a;
    border-color: #2e2e2e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark .auth-sub,
body.dark .auth-switch {
    color: #b5b5b5;
}

body.dark .auth-field input {
    background: #242424;
    border-color: #3a3a3a;
    color: #ffffff;
}

body.dark .auth-field input:focus {
    border-color: #e50914;
}

body.dark .toggle-password {
    color: #b5b5b5;
}

body.dark .toggle-password:hover,
body.dark .toggle-password.is-visible {
    color: #ff4d55;
}


/* ===== Mobile ===== */
@media (max-width: 480px) {
    .auth-box {
        padding: 28px 20px;
    }

    .password-wrap input {
        padding-right: 56px;
    }

    .toggle-password {
        right: 4px;
        width: 44px;
        height: 44px;
    }

    .auth-box h1 {
        font-size: 26px;
    }
}

/* about.css  (style.css ke saath use hota hai: navbar, dark mode wahi se aate hain) */

/* ===== Language switch ===== */
body[data-lang="hi"] .en {
    display: none !important;
}

body[data-lang="en"] .hi {
    display: none !important;
}

body[data-lang="hi"] .about-text {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}


/* ===== Page: ek screen me, scroll nahi ===== */
body.about-body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.about-main {
    flex: 1;

    display: flex;
    align-items: center;

    padding: 24px 7%;

    background:
        radial-gradient(circle at 82% 45%, rgba(229, 9, 20, 0.10), transparent 55%);
}

.about-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}


/* ===== Language option (English | हिन्दी) ===== */
.lang-switch {
    display: inline-flex;

    margin-bottom: 20px;
    padding: 4px;

    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 30px;
}

.lang-opt {
    padding: 6px 20px;

    border: none;
    border-radius: 30px;
    background: transparent;
    color: #555555;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s ease;
}

.lang-opt:hover {
    color: #e50914;
}

.lang-opt.active {
    background: #e50914;
    color: #ffffff;
}


/* ===== Text ===== */
.about-tag {
    display: block;

    color: #e50914;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.about-text h1 {
    margin: 10px 0 16px;

    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1.15;
}

.red {
    color: #e50914;
}

/* heading ke neeche chhoti laal line */
.about-text h1::after {
    content: "";

    display: block;
    width: 64px;
    height: 4px;
    margin-top: 14px;

    background: #e50914;
    border-radius: 4px;
}

.about-lead {
    max-width: 580px;
    margin-bottom: 14px;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
    margin-left: 1px;
}

.about-para {
    max-width: 580px;

    color: #777777;

    font-size: 15px;
    line-height: 1.85;
}


/* ===== Chips ===== */
.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 22px 0 26px;
    max-width: 580px;
}

.about-chips>span {
    padding: 5px 14px;

    background: #ffe5e6;
    color: #c4070f;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 600;
}


/* ===== Button ===== */
.about-btn {
    display: inline-block;

    padding: 13px 30px;

    background: #e50914;
    color: #ffffff;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    transition: 0.3s ease;
}

.about-btn i {
    margin-left: 8px;
    font-size: 13px;
}

.about-btn:hover {
    background: #b80710;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(229, 9, 20, 0.28);
}


/* ===== Image ===== */
.about-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual::before {
    content: "";

    position: absolute;
    width: min(420px, 85%);
    aspect-ratio: 1;

    background: rgba(229, 9, 20, 0.08);
    border-radius: 50%;
}

.about-visual img {
    position: relative;

    width: 100%;
    max-width: 440px;
    max-height: 52vh;

    object-fit: contain;
    mix-blend-mode: multiply;
}


/* ===== Dark mode ===== */
body.dark .about-main {
    background:
        radial-gradient(circle at 82% 45%, rgba(229, 9, 20, 0.16), transparent 55%);
}

body.dark .lang-switch {
    background: #1c1c1c;
    border-color: #333333;
}

body.dark .lang-opt {
    color: #cccccc;
}

body.dark .lang-opt.active {
    color: #ffffff;
}

body.dark .about-para {
    color: #aaaaaa;
}

body.dark .about-chips>span {
    background: #3a2022;
    color: #ff6b73;
}

body.dark .about-visual::before {
    background: rgba(229, 9, 20, 0.14);
}

body.dark .about-visual img {
    mix-blend-mode: normal;
}


/* ===== Chhoti height wali screen: chips hata do taaki scroll na ho ===== */
@media (max-height: 760px) {

    .about-chips {
        display: none;
    }

    .about-btn {
        margin-top: 22px;
    }
}


/* ===== Tablet / Mobile ===== */
@media (max-width: 900px) {

    .about-wrap {
        grid-template-columns: 1fr;
    }

    .about-visual {
        display: none;
    }

    .about-main {
        background: radial-gradient(circle at 50% 80%, rgba(229, 9, 20, 0.08), transparent 60%);
    }
}

@media (max-width: 600px) {

    .about-main {
        padding: 18px 6%;
    }

    .lang-switch {
        margin-bottom: 14px;
    }

    .about-text h1 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .about-text h1::after {
        margin-top: 10px;
    }

    .about-lead {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .about-para {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .about-chips {
        display: none;
    }

    .about-btn {
        margin-top: 18px;
        padding: 11px 26px;
        font-size: 14px;
    }
}