﻿/* =========================================
   TAXISNETWORK LOGIN SECTION
   Fully Custom - No Framework
========================================= */

.tn-login-section {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

    .tn-login-section *,
    .tn-login-section *::before,
    .tn-login-section *::after {
        box-sizing: border-box;
    }


/* =========================================
   HERO / CUSTOM HEADER
========================================= */

.tn-login-header {
    position: relative;
    width: 100%;
    min-height: 430px;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.70) 42%, rgba(0, 0, 0, 0.40) 100% ), url("signup-sigin-images/signup-backimage.jpeg") center center / cover no-repeat;
    border-bottom: 2px solid #f7b71d;
    overflow: hidden;
}


.tn-header-inner {
    width: min(1250px, calc(100% - 50px));
    min-height: 430px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}


/* =========================================
   LEFT SIDE
========================================= */

.tn-header-content {
    width: 48%;
    color: #fff;
}


.tn-welcome {
    display: block;
    margin-bottom: 12px;
    color: #f7b71d;
    font-size: 16px;
    font-weight: 700;
}


.tn-header-content h1 {
    margin: 0;
    max-width: 550px;
    color: #fff;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 700;
}


    .tn-header-content h1 span {
        color: #f7b71d;
    }


.tn-yellow-line {
    display: flex;
    align-items: center;
    width: 245px;
    margin: 22px 0 20px;
}


    .tn-yellow-line::after {
        content: "";
        width: 100%;
        height: 1px;
        margin-left: 10px;
        background: repeating-linear-gradient( to right, #f7b71d 0, #f7b71d 6px, transparent 6px, transparent 11px );
    }


.tn-car-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
}


    .tn-car-icon svg {
        width: 25px;
        height: 25px;
        fill: #f7b71d;
    }


.tn-header-content > p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.65;
}


/* =========================================
   LOGIN CARD
========================================= */

.tn-login-card {
    position: relative;
    width: 510px;
    max-width: 100%;
    padding: 42px 34px 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}


.tn-card-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7b71d;
    border: 5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}


    .tn-card-icon svg {
        width: 28px;
        height: 28px;
        fill: #111;
    }


.tn-login-card h2 {
    margin: 0;
    text-align: center;
    color: #111;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}


.tn-login-subtitle {
    margin: 7px 0 18px;
    text-align: center;
    color: #555;
    font-size: 14px;
}


/* =========================================
   INPUTS
========================================= */

.tn-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    margin-bottom: 10px;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


    .tn-input:focus-within {
        border-color: #f7b71d;
        box-shadow: 0 0 0 3px rgba(247, 183, 29, 0.12);
    }


    .tn-input > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
    }


        .tn-input > span svg {
            width: 16px;
            height: 16px;
            fill: #777;
        }


    .tn-input input {
        width: 100%;
        height: 100%;
        padding: 0 12px 0 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #222;
        font-size: 13px;
    }


        .tn-input input::placeholder {
            color: #777;
        }


.tn-password-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}


    .tn-password-toggle svg {
        width: 16px;
        height: 16px;
        fill: #666;
    }


/* =========================================
   BUTTONS
========================================= */

.tn-login-actions {
    display: grid;
    /*    grid-template-columns: 1fr 1fr 1.25fr;*/
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 16px;
}


.tn-btn {
    min-height: 35px;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}


.tn-btn-login {
    border: 1px solid #f7b71d;
    background: #f7b71d;
    color: #111;
}


    .tn-btn-login:hover {
        background: #e9a900;
        border-color: #e9a900;
    }


.tn-btn-signup {
    border: 1px solid #f0b51c;
    background: #fff;
    color: #222;
}


    .tn-btn-signup:hover {
        background: #fff7df;
    }


.tn-btn-guest {
    border: 1px solid #aaa;
    background: #fff;
    color: #222;
}


    .tn-btn-guest:hover {
        background: #f5f5f5;
    }


.tn-forgot {
    display: block;
    margin-top: 11px;
    text-align: right;
    color: #555;
    font-size: 13px;
    font-style: italic;
    text-decoration: none;
}


    .tn-forgot:hover {
        color: #f0ad00;
    }


/* =========================================
   FOUR FEATURES SECTION
========================================= */

.tn-features-section {
    width: 100%;
    background: #151515;
    border-top: 1px solid rgba(247, 183, 29, 0.35);
}


.tn-features-inner {
    width: min(1100px, calc(100% - 50px));
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}


.tn-feature {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 12px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}


    .tn-feature:first-child {
        padding-left: 0;
    }


    .tn-feature:last-child {
        padding-right: 0;
        border-right: 0;
    }


.tn-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border: 1px solid #f7b71d;
    border-radius: 50%;
}


    .tn-feature-icon svg {
        width: 20px;
        height: 20px;
        fill: #f7b71d;
    }


.tn-feature-content {
    min-width: 0;
}


    .tn-feature-content h3 {
        margin: 0 0 3px;
        color: #fff;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 700;
    }


    .tn-feature-content p {
        margin: 0;
        color: #cfcfcf;
        font-size: 11px;
        line-height: 1.3;
    }


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .tn-login-header {
        min-height: auto;
    }

    .tn-header-inner {
        min-height: auto;
        padding: 70px 0 60px;
        gap: 40px;
    }

    .tn-header-content h1 {
        font-size: 40px;
    }

    .tn-login-card {
        width: 460px;
    }

    .tn-feature {
        padding: 12px 15px;
    }

    .tn-feature-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        margin-right: 9px;
    }

        .tn-feature-icon svg {
            width: 17px;
            height: 17px;
        }

    .tn-feature-content h3 {
        font-size: 12px;
    }

    .tn-feature-content p {
        font-size: 10px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .tn-login-header {
        background: linear-gradient( rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78) ), url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRwjxGIAcQZkJNPB-maQVSMm563UlHp3dxnGmenq_wh4tgg5zXWx6xDDUP1&s=10") center center / cover no-repeat;
    }


    .tn-header-inner {
        width: min(100% - 30px, 520px);
        display: flex;
        flex-direction: column;
        padding: 50px 0 45px;
        gap: 48px;
    }


    .tn-header-content {
        width: 100%;
        text-align: center;
    }

    .tn-header-content {
        display: none !important;
    }

    .tn-welcome {
        font-size: 14px;
    }


    .tn-header-content h1 {
        max-width: 450px;
        margin: 0 auto;
        font-size: 34px;
        line-height: 1.12;
    }


    .tn-yellow-line {
        width: 210px;
        margin: 18px auto;
    }


    .tn-header-content > p {
        max-width: 400px;
        margin: 0 auto;
        font-size: 15px;
    }


    .tn-login-card {
        width: 100%;
        padding: 38px 22px 22px;
    }


        .tn-login-card h2 {
            font-size: 23px;
        }


    .tn-login-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }


    .tn-btn {
        min-height: 40px;
    }


    .tn-features-inner {
        width: min(100% - 30px, 520px);
        grid-template-columns: 1fr 1fr;
        padding: 8px 0;
    }


    .tn-feature,
    .tn-feature:first-child,
    .tn-feature:last-child {
        min-height: 68px;
        padding: 10px;
        border-right: 0;
    }


        .tn-feature:nth-child(1),
        .tn-feature:nth-child(2) {
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }


        .tn-feature:nth-child(odd) {
            border-right: 1px solid rgba(255, 255, 255, 0.08);
        }


    .tn-feature-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }


    .tn-feature-content h3 {
        font-size: 12px;
    }


    .tn-feature-content p {
        font-size: 9px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 430px) {

    .tn-header-inner {
        width: calc(100% - 24px);
        /*        padding-top: 42px;*/
        padding-top: 50px;
    }


    .tn-header-content h1 {
        font-size: 29px;
    }


    .tn-header-content > p {
        font-size: 14px;
    }


    .tn-login-card {
        padding-left: 16px;
        padding-right: 16px;
    }


    .tn-features-inner {
        width: calc(100% - 20px);
    }


    .tn-feature,
    .tn-feature:first-child,
    .tn-feature:last-child {
        padding: 8px 5px;
    }


    .tn-feature-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        margin-right: 7px;
    }


        .tn-feature-icon svg {
            width: 15px;
            height: 15px;
        }


    .tn-feature-content h3 {
        font-size: 10px;
    }


    .tn-feature-content p {
        font-size: 8px;
    }
}


.ftco-no-pt {
    padding-top: 0px !important;
}

.modal-title{
    color: #000 !important;
}
.modal-body input {
    border: 2px solid #d7d7d7 !important;
}

.form-control-pass-forgot {
    width: 100% !important;
    height: 45px !important;
    padding: 10px 14px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #d7d7d7 !important;
    border-radius: 5px !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #000 !important;
}

    /* Focus hone ke baad bhi EXACT same border */
    .form-control-pass-forgot:focus {
        border: 2px solid #d7d7d7 !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* Click/active par bhi same */
    .form-control-pass-forgot:active {
        border: 2px solid #d7d7d7 !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* Hover par bhi same */
    .form-control-pass-forgot:hover {
        border: 2px solid #d7d7d7 !important;
    }

    /* Placeholder */
    .form-control-pass-forgot::placeholder {
        color: #000 !important;
        opacity: 1 !important;
    }