/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   BODY
========================================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f8f8;
    color: #202020;
}


/* =========================================
   LOGIN PAGE
========================================= */

.login-page {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px 20px;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.login-container {
    width: 100%;
    max-width: 430px;
}


/* =========================================
   BRAND SECTION
========================================= */

.brand-section {
    text-align: center;
    margin-bottom: 35px;
}


/* Logo */

.erms-logo {
    width: 85px;
    height: 85px;

    margin: 0 auto 12px;

    background: #ff8500;

    border-radius: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 32px;
    font-weight: 700;

    letter-spacing: -2px;
}


/* ERMS */
.brand-section {
    text-align: center;
    margin-bottom: 25px;
}


.brand-section h1 {
    color: #e95700;

    font-size: 30px;
    font-weight: 700;

    margin-bottom: 5px;
}


/* Subtitle */

.brand-section p {
    color: #777777;

    font-size: 14px;

    letter-spacing: 0.5px;

    line-height: 1.5;
}


/* =========================================
   WELCOME SECTION
========================================= */

.welcome-section {
    margin-bottom: 22px;
}


.welcome-section h2 {
    font-size: 30px;

    font-weight: 700;

    margin-bottom: 8px;

    color: #202020;
}


.welcome-section p {
    font-size: 17px;

    line-height: 1.5;

    color: #777777;
}


/* =========================================
   FORM GROUP
========================================= */

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


.form-group label {
    display: block;

    font-size: 16px;

    font-weight: 700;

    margin-bottom: 9px;

    color: #242424;
}


/* =========================================
   MOBILE NUMBER INPUT
========================================= */

.input-wrapper {
    height: 58px;

    width: 100%;

    background: white;

    border: 2px solid #dddddd;

    border-radius: 16px;

    display: flex;

    align-items: center;

    padding: 0 18px;

    transition: 0.2s;
}


.input-wrapper:focus-within {
    border-color: #ff8500;

    box-shadow:
        0 0 0 3px
        rgba(255, 133, 0, 0.10);
}


.country-code {
    font-size: 17px;

    color: #222222;

    margin-right: 15px;

    font-weight: 500;
}


.input-wrapper input {
    border: none;

    outline: none;

    width: 100%;

    height: 100%;

    font-size: 17px;

    color: #333333;

    background: transparent;
}


.input-wrapper input::placeholder {
    color: #555555;
}


/* =========================================
   PASSWORD
========================================= */

.password-wrapper {
    height: 55px;

    width: 100%;

    background: white;

    border: 2px solid #dddddd;

    border-radius: 15px;

    display: flex;

    align-items: center;

    padding: 0 14px;

    transition: 0.2s;
}


.password-wrapper:focus-within {
    border-color: #ff8500;

    box-shadow:
        0 0 0 3px
        rgba(255, 133, 0, 0.10);
}


.input-icon {
    font-size: 19px;

    margin-right: 12px;
}


.password-wrapper input {
    flex: 1;

    border: none;

    outline: none;

    height: 100%;

    font-size: 15px;

    letter-spacing: 3px;
}


.password-wrapper input::placeholder {
    color: #333333;

    letter-spacing: 3px;
}


.eye-button {
    border: none;

    background: transparent;

    font-size: 20px;

    cursor: pointer;

    padding: 7px;
}


/* =========================================
   LOGIN OPTIONS
========================================= */

.login-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 4px 3px 22px;
}


.remember-me {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 15px;

    color: #777777;

    cursor: pointer;
}


.remember-me input {
    display: none;
}


.custom-checkbox {
    width: 24px;
    height: 24px;

    background: white;

    border: 2px solid #dddddd;

    border-radius: 4px;

    position: relative;
}


.remember-me input:checked
+ .custom-checkbox {
    background: #ff8500;

    border-color: #ff8500;
}


.remember-me input:checked
+ .custom-checkbox::after {
    content: "✓";

    position: absolute;

    color: white;

    font-size: 17px;

    font-weight: bold;

    left: 3px;

    top: -1px;
}


.forgot-password {
    color: #e95700;

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;
}


.forgot-password:hover {
    text-decoration: underline;
}


/* =========================================
   ERROR MESSAGE
========================================= */

.error-message {
    min-height: 55px;

    background: #fff0f0;

    border-radius: 13px;

    color: #c94040;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 15px;

    margin-bottom: 20px;

    font-size: 14px;
}


.error-icon {
    width: 26px;
    height: 26px;

    border: 2px solid #c94040;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    flex-shrink: 0;
}


.hidden {
    display: none;
}


/* =========================================
   SIGN IN BUTTON
========================================= */

.sign-in-button {
    width: 100%;

    height: 55px;

    border: none;

    border-radius: 15px;

    background: #ff8500;

    color: white;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 16px;

    transition: 0.2s;
}


.sign-in-button:hover {
    background: #ed7800;
}


.sign-in-button:active {
    transform: scale(0.99);
}


.arrow {
    font-size: 27px;

    font-weight: 400;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    text-align: center;

    margin-top: 25px;

    color: #999999;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 700px) {

    .login-page {
        align-items: flex-start;

        padding: 30px 25px;
    }

    .login-container {
        max-width: 520px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .login-page {
        padding: 25px 24px;
    }


    .brand-section {
        margin-bottom: 50px;
    }


    .erms-logo {
        width: 135px;
        height: 135px;

        border-radius: 34px;

        font-size: 48px;

        margin-bottom: 24px;
    }


    .brand-section h1 {
        font-size: 36px;
    }


    .brand-section p {
        font-size: 17px;
    }


    .welcome-section {
        margin-bottom: 34px;
    }


    .welcome-section h2 {
        font-size: 34px;
    }


    .welcome-section p {
        font-size: 19px;
    }


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


    .form-group label {
        font-size: 19px;
    }


    .input-wrapper,
    .password-wrapper {
        height: 65px;

        border-radius: 19px;
    }


    .input-wrapper input,
    .country-code {
        font-size: 19px;
    }


    .password-wrapper input {
        font-size: 20px;
    }


    .login-options {
        margin-bottom: 25px;
    }


    .remember-me {
        font-size: 17px;
    }


    .custom-checkbox {
        width: 28px;
        height: 28px;
    }


    .forgot-password {
        font-size: 17px;
    }


    .error-message {
        font-size: 15px;

        min-height: 60px;
    }


    .sign-in-button {
        height: 65px;

        border-radius: 19px;

        font-size: 20px;
    }


    .arrow {
        font-size: 30px;
    }

}

/* =========================================================
   TELANGANA YUVA BHARATH – MLC ENROLLMENT LANDING PAGE
   Uses the existing orange, charcoal and light-grey palette.
   Existing login-page styles above are intentionally retained.
   ========================================================= */

.tyb-home {
    --tyb-orange: #ff8500;
    --tyb-deep-orange: #e95700;
    --tyb-ink: #202020;
    --tyb-muted: #777777;
    --tyb-paper: #f8f8f8;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 44%, rgba(255,133,0,.075), transparent 28%),
        linear-gradient(135deg, #fff 0%, var(--tyb-paper) 58%, #fff 100%);
    color: var(--tyb-ink);
    padding: 0 0 22px;
}
.tyb-container { max-width: 1600px; padding: 0 5.2%; position: relative; z-index: 1; }
.tyb-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.tyb-orb-one { width: 430px; height: 430px; right: -170px; top: 100px; background: rgba(255,133,0,.055); }
.tyb-orb-two { width: 240px; height: 240px; left: -150px; bottom: 30px; border: 1px solid rgba(233,87,0,.10); }

.tyb-header {
    min-height: 104px; display: flex; align-items: center; justify-content: space-between;
    gap: 24px; border-bottom: 1px solid rgba(32,32,32,.08);
}
.tyb-brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.tyb-brand-mark {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    color: #fff; font-size: 25px; background: linear-gradient(145deg, #ff9b24, #e95700);
    box-shadow: 0 9px 22px rgba(233,87,0,.20);
}
.tyb-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.tyb-brand-copy strong { font-size: 25px; letter-spacing: -.8px; font-weight: 800; }
.tyb-brand-copy strong span { color: var(--tyb-deep-orange); }
.tyb-brand-copy small { margin-top: 5px; color: var(--tyb-muted); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; }
.tyb-region { align-items: center; gap: 9px; color: #666; font-size: 10px; letter-spacing: 1.05px; font-weight: 700; }
.tyb-region i { color: var(--tyb-orange); font-size: 16px; }
.tyb-region span:first-child { color: var(--tyb-deep-orange); }
.tyb-login {
    display: inline-flex; align-items: center; gap: 12px; padding: 12px 19px; border-radius: 12px;
    color: #fff; background: var(--tyb-orange); text-decoration: none; font-weight: 700; font-size: 14px;
    box-shadow: 0 7px 18px rgba(255,133,0,.19); transition: .2s ease;
}
.tyb-login:hover, .tyb-primary-btn:hover { background: #ed7800; color: #fff; transform: translateY(-2px); }

.tyb-hero { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 5%; padding: 65px 0 55px; }
.tyb-hero-copy { max-width: 680px; }
.tyb-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--tyb-deep-orange); font-size: 11px; font-weight: 800; letter-spacing: 1.45px; }
.tyb-eyebrow span { width: 25px; height: 2px; background: var(--tyb-orange); display: inline-block; }
.tyb-hero h1 { margin: 23px 0 17px; font-size: clamp(44px, 5.1vw, 70px); line-height: 1.08; letter-spacing: -2.8px; font-weight: 800; color: var(--tyb-ink); }
.tyb-hero h1 span { color: var(--tyb-deep-orange); }
.tyb-accent-line { width: 64px; height: 5px; border-radius: 8px; background: var(--tyb-orange); margin: 25px 0 22px; }
.tyb-lead { max-width: 570px; color: var(--tyb-muted); font-size: 16px; line-height: 1.85; margin: 0; }
.tyb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.tyb-primary-btn { display: inline-flex; align-items: center; gap: 19px; padding: 15px 21px; border-radius: 12px; background: var(--tyb-orange); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 10px 23px rgba(255,133,0,.20); transition: .2s ease; }
.tyb-secure-note { color: #777; font-size: 12px; display: inline-flex; align-items: center; gap: 7px; }
.tyb-secure-note i { color: var(--tyb-deep-orange); font-size: 15px; }
.tyb-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 48px; padding-top: 25px; border-top: 1px solid rgba(32,32,32,.09); }
.tyb-feature { display: flex; align-items: center; gap: 11px; min-width: 0; }
.tyb-feature-icon { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--tyb-deep-orange); background: rgba(255,133,0,.11); font-size: 18px; }
.tyb-feature strong, .tyb-feature small { display: block; }
.tyb-feature strong { font-size: 12px; font-weight: 800; white-space: nowrap; }
.tyb-feature small { margin-top: 4px; color: #888; font-size: 10px; }

.tyb-hero-visual { min-height: 480px; position: relative; display: grid; place-items: center; }
.tyb-visual-ring { position: absolute; border: 1px solid rgba(255,133,0,.17); border-radius: 50%; }
.tyb-ring-one { width: 440px; height: 440px; }
.tyb-ring-two { width: 520px; height: 520px; border-style: dashed; opacity: .65; }
.tyb-visual-panel { position: relative; z-index: 1; width: min(100%, 440px); padding: 20px 22px 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: 0 25px 75px rgba(32,32,32,.10); backdrop-filter: blur(12px); }
.tyb-panel-top { display: flex; align-items: center; justify-content: space-between; }
.tyb-panel-symbol { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--tyb-deep-orange); background: rgba(255,133,0,.12); font-size: 21px; }
.tyb-panel-tag { color: #999; font-size: 9px; letter-spacing: 1.2px; font-weight: 800; }
.tyb-hero-image { width: 100%; height: 290px; object-fit: contain; display: block; margin: 4px auto; }
.tyb-panel-caption { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: #fff7ef; }
.tyb-caption-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--tyb-deep-orange); font-size: 18px; }
.tyb-panel-caption strong, .tyb-panel-caption small { display: block; }
.tyb-panel-caption strong { font-size: 12px; }
.tyb-panel-caption small { color: #888; font-size: 10px; margin-top: 3px; }
.tyb-float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 14px; background: #fff; box-shadow: 0 12px 35px rgba(32,32,32,.12); }
.tyb-float-card > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,133,0,.12); color: var(--tyb-deep-orange); font-size: 18px; }
.tyb-float-card strong, .tyb-float-card small { display: block; }
.tyb-float-card strong { font-size: 11px; }
.tyb-float-card small { color: #888; font-size: 10px; margin-top: 2px; }
.tyb-float-top { top: 70px; right: -12px; }
.tyb-float-bottom { bottom: 55px; left: -22px; }

.tyb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; border: 1px solid rgba(32,32,32,.07); border-radius: 17px; background: rgba(255,255,255,.72); }
.tyb-bottom-message { display: flex; align-items: center; gap: 15px; }
.tyb-bottom-rule { width: 4px; height: 39px; border-radius: 5px; background: var(--tyb-orange); }
.tyb-bottom-message strong { font-size: 14px; }
.tyb-bottom-message p { margin: 4px 0 0; color: #888; font-size: 12px; }
.tyb-bottom-link { display: inline-flex; align-items: center; gap: 12px; color: var(--tyb-deep-orange); text-decoration: none; font-size: 13px; font-weight: 800; }
.tyb-bottom-link:hover { color: var(--tyb-orange); }
.tyb-footer { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 23px; color: #999; font-size: 11px; }
.tyb-footer-separator { color: var(--tyb-orange); }

@media (max-width: 1100px) {
    .tyb-container { padding-left: 4%; padding-right: 4%; }
    .tyb-hero { gap: 2%; grid-template-columns: 1.05fr .95fr; }
    .tyb-feature-grid { gap: 10px; }
    .tyb-feature { gap: 8px; }
    .tyb-feature strong { font-size: 11px; }
    .tyb-float-top { right: -4px; }
}
@media (max-width: 767px) {
    .tyb-container { padding-left: 22px; padding-right: 22px; }
    .tyb-header { min-height: 82px; }
    .tyb-brand-mark { width: 45px; height: 45px; border-radius: 14px; }
    .tyb-brand-copy strong { font-size: 22px; }
    .tyb-login { padding: 11px 14px; }
    .tyb-hero { grid-template-columns: 1fr; padding: 49px 0 35px; gap: 20px; }
    .tyb-hero h1 { font-size: clamp(43px, 10vw, 58px); letter-spacing: -2px; }
    .tyb-lead { font-size: 15px; }
    .tyb-feature-grid { margin-top: 34px; }
    .tyb-hero-visual { min-height: 430px; margin: 0 -4px; }
    .tyb-ring-one { width: 340px; height: 340px; }
    .tyb-ring-two { width: 400px; height: 400px; }
    .tyb-visual-panel { max-width: 370px; }
    .tyb-hero-image { height: 245px; }
    .tyb-float-top { top: 45px; right: 0; }
    .tyb-float-bottom { bottom: 35px; left: 0; }
    .tyb-bottom { padding: 18px; }
}
@media (max-width: 480px) {
    .tyb-container { padding-left: 17px; padding-right: 17px; }
    .tyb-brand-copy small { font-size: 9px; letter-spacing: .45px; }
    .tyb-login { gap: 7px; font-size: 12px; padding: 10px 12px; }
    .tyb-eyebrow { font-size: 9px; letter-spacing: .9px; }
    .tyb-hero { padding-top: 40px; }
    .tyb-hero h1 { font-size: 43px; }
    .tyb-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
    .tyb-primary-btn { width: 100%; justify-content: center; }
    .tyb-feature-grid { grid-template-columns: 1fr; gap: 14px; }
    .tyb-feature strong { font-size: 12px; }
    .tyb-feature small { font-size: 11px; }
    .tyb-hero-visual { min-height: 360px; }
    .tyb-visual-panel { padding: 15px; border-radius: 20px; }
    .tyb-hero-image { height: 205px; }
    .tyb-ring-one { width: 290px; height: 290px; }
    .tyb-ring-two { width: 340px; height: 340px; }
    .tyb-float-card { padding: 9px 11px; }
    .tyb-float-top { top: 23px; }
    .tyb-float-bottom { bottom: 20px; }
    .tyb-bottom { align-items: flex-start; flex-direction: column; }
    .tyb-footer { flex-wrap: wrap; gap: 7px; font-size: 10px; }
}


/* =========================================================
   LANDING PAGE SPACING & TYPOGRAPHY REFINEMENT
   ========================================================= */
.tyb-header {
    min-height: 84px;
}
.tyb-hero {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 32px;
}
.tyb-eyebrow {
    font-size: 12px;
    letter-spacing: 1.55px;
}
.tyb-hero h1 {
    font-size: clamp(48px, 5.35vw, 74px);
    margin-top: 18px;
    margin-bottom: 14px;
}
.tyb-lead {
    font-size: 17px;
    line-height: 1.75;
}
.tyb-accent-line {
    margin-top: 20px;
    margin-bottom: 18px;
}
.tyb-actions {
    margin-top: 25px;
}
.tyb-feature-grid {
    margin-top: 36px;
    padding-top: 20px;
}
.tyb-hero-visual {
    min-height: 420px;
}
.tyb-bottom {
    padding-top: 18px;
    padding-bottom: 18px;
}
.tyb-footer {
    padding-top: 17px;
}
@media (max-width: 767px) {
    .tyb-header { min-height: 76px; }
    .tyb-hero { padding-top: 30px; padding-bottom: 24px; }
    .tyb-hero h1 { font-size: clamp(45px, 10.5vw, 62px); }
    .tyb-hero-visual { min-height: 390px; }
}
@media (max-width: 480px) {
    .tyb-hero { padding-top: 25px; }
    .tyb-hero h1 { font-size: 46px; }
    .tyb-eyebrow { font-size: 10px; letter-spacing: 1px; }
}


/* =========================================================
   EXTRA-COMPACT TOP SPACING
   Pull the enrollment heading upward and remove excess blank space.
   ========================================================= */
.tyb-header {
    min-height: 58px;
}
.tyb-hero {
    padding-top: 8px;
    padding-bottom: 22px;
}
.tyb-hero-copy {
    padding-top: 0;
}
.tyb-eyebrow {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.25;
}
@media (max-width: 767px) {
    .tyb-header {
        min-height: 58px;
    }
    .tyb-hero {
        padding-top: 8px;
    }
}
@media (max-width: 480px) {
    .tyb-hero {
        padding-top: 6px;
    }
}
