﻿/* =========================================================
   RESET / GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "verdana", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* =========================================================
   TOP BANNER
========================================================= */

.top_banner {
    width: 100%;
    height: 150px;
    overflow: hidden;
    padding: 0;
}

.top_banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}



/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    background: linear-gradient(90deg, #063b76, #07579e, #063b76);
    box-shadow: 0 4px 15px #00000026;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1150px;
    min-height: 52px;
    margin: auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu li a {
    display: block;
    padding: 15px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #ffffff26;
}


/* =========================================================
   NOTIFICATION
========================================================= */

.notification-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.notification-inner {
    max-width: 1150px;
    min-height: 45px;
    margin: auto;
    display: flex;
    align-items: center;
}

.notification-title {
    position: relative;
    min-width: 150px;
    padding: 13px 22px;
    background: #dc2626;
    color: #fff;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

/*.notification-title:after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;

    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 10px solid #dc2626;
}*/

.notification-content {
    flex: 1;
    overflow: hidden;
    padding-left: 25px;
}

.notification-content marquee,
.date-label,
.portal-link {
    font-family: Verdana, "Lucida Grande", "Segoe UI", Arial, sans-serif;
    text-transform: uppercase;
}

.notification-content marquee {
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
    /*padding-top: 6px;*/
}

.new-badge {
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 7px;
    margin-right: 8px;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: 1150px;
    margin: auto;
    padding: 25px 0 0;
}

#container {
    width: 100%;
    max-width: 1150px;
    margin: 25px auto;
    font-family: "Segoe UI", Arial, sans-serif;
}

#container table {
    border-collapse: collapse;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 275px;
    margin-bottom: 25px;

    border-radius: 7px;

    background:
        linear-gradient(120deg, #033669f7, #076948e6),
        url("awscdn/images/upcar.jpg") center/cover;

    box-shadow: 0 10px 30px #0000001f;

    display: flex;
    align-items: center;
}

.hero:before,
.hero:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #ffffff0f;
}

.hero:before {
    width: 350px;
    height: 350px;
    right: -100px;
    top: -150px;
}

.hero:after {
    width: 250px;
    height: 250px;
    left: -100px;
    bottom: -150px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 70%;
    padding: 35px 45px;
    color: #fff;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 13px;

    border: 1px solid #ffffff4d;
    border-radius: 7px;
    background: #ffffff26;

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero h2 {
    font-size: 17px;
    font-weight: 500;
    opacity: .95;
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 21px;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    transition: .3s;
}

.btn-primary {
    background: #f59e0b;
    color: #111827;
    box-shadow: 0 5px 15px #00000026;
}

.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: #06477d;
}

.btn-white:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 28px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px;

    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 7px;

    box-shadow: 0 5px 20px #0f172a12;

    transition: .3s;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #0f172a1f;
}

.quick-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;
    background: #e8f2ff;
    color: #07579e;

    font-size: 21px;
}

.quick-card h3 {
    font-size: 15px;
    color: #172554;
    margin-bottom: 3px;
}

.quick-card p {
    color: #6b7280;
    font-size: 12px;
}


/* =========================================================
   CONTENT GRID
========================================================= */

.content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr .85fr;
    gap: 20px;
}

.card {
    overflow: hidden;

    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 7px;
    box-shadow: 0 5px 20px #0f172a0f;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: #083880;
    color: #fff;
    text-transform: uppercase;
}

.card-header h2 {
    font-size: 14px;
}

.card-header span {
    font-size: 20px;
}

.card-body {
    padding: 18px;
}


/* =========================================================
   DATES
========================================================= */

.date-item {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
}

.date-item:last-child {
    border: 0;
}

.date-label {
    display: block;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.date-value {
    display: inline-block;
    color: #dc2626;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   IMPORTANT LINKS
========================================================= */

.portal-link {
    display: block;

    padding: 12px 3px;

    border-bottom: 1px solid #edf0f4;

    color: #374151;

    font-size: 12px;
    font-weight: 600;

    transition: .2s;
}

.portal-link:last-child {
    border: 0;
}

.portal-link:hover {
    padding-left: 7px;
    color: #087443;
}

.portal-link span {
    color: #9ca3af;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    background: #fff;
    color: #fff;
}

.login-card .card-header {
    background: #083880;
}

.login-body {
    padding: 20px;
}

.login-body p {
    margin-bottom: 15px;
    font-size: 12px;
    opacity: .85;
}

.login-button,
.register-button {
    display: block;
    margin-bottom: 15px;
    padding: 12px;
    text-align: center;
    border-radius: 7px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

.login-button {
    background: #003862;
    color: #fff;
}

.register-button {
    padding: 11px;
    border: 1px solid #083880;
    color: #164e80;
}

.register-button:hover {
    background: #ffffff1a;
}


/* =========================================================
   NOTICE
========================================================= */

.notice-box {
    margin-top: 25px;
    padding: 18px 20px;

    background: #fff;
    border-left: 5px solid #f59e0b;
    border-radius: 7px;

    box-shadow: 0 4px 15px #0000000f;
}

.notice-box h3 {
    margin-bottom: 8px;
    color: #dc2626;
    font-size: 14px;
    text-transform: uppercase;
}

.notice-box p {
    margin: 5px 0;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   HELPDESK
========================================================= */

.helpdesk {
    margin-top: 25px;
    padding: 22px;

    background: #eef7f2;
    border: 1px solid #cce7d7;
    border-radius: 7px;
}

.helpdesk h2 {
    margin-bottom: 12px;
    color: #075c3b;
    font-size: 14px;
    text-transform: uppercase;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.help-item {
    padding: 15px;

    background: #fff;
    border: 1px solid #dfeee6;
    border-radius: 7px;
}

.help-item strong {
    display: block;
    margin-bottom: 5px;
    color: #075c3b;
    font-size: 13px;
    text-transform: uppercase;
}

.help-item span {
    margin-left: 18px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 30px;
    background: #083880;
    color: #fff;
}

.footer-main {
    max-width: 1150px;
    margin: auto;
    padding: 30px 20px;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
}

.footer-main h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 16px;
}

.footer-main p,
.footer-main a {
    color: #b8c7d9;
    font-size: 12px;
    line-height: 1.9;
}

.footer-main a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 14px;
    border-top: 1px solid #ffffff1a;
    color: #fff;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.success-message {
    margin-bottom: 20px;
    padding: 12px 15px;

    background: #ecfdf5;
    color: #047857;

    border: 1px solid #a7f3d0;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   FORM TAB
========================================================= */

.form_tab {
    background: linear-gradient(90deg, #083880, #07579e);
    color: #fff;
    padding: 10px 10px;
    font-size: 12px;
    font-weight: 700;
    /*border-radius: 7px 7px 0 0;*/
    /*margin-top: 10px;*/
    text-transform: uppercase;
}


/* =========================================================
   FIELDSET
========================================================= */

fieldset {
    border: 0px solid #dbe3ee;
    border-top: 0;

    background: #fff;

    padding: 5px 0px 0px;

    /*border-radius: 0 0 7px 7px;*/

    /*box-shadow: 0 5px 20px rgba(15, 23, 42, .06);*/
}


/* =========================================================
   FORM TABLE
========================================================= */

fieldset table tr {
    border-bottom: 1px solid #edf1f5;
}

fieldset table tr:last-child {
    border-bottom: 0;
}

fieldset table td {
    padding: 5px 14px !important;
    border: 0 !important;
    vertical-align: middle;
    text-transform: uppercase !important;
    font-weight: 500;
}

fieldset table td:first-child {
    width: 35%;
    color: #253858;

    font-size: 12px;
    font-weight: 600;


    border-right: 1px solid #e5eaf0 !important;
    text-transform: uppercase;

}

fieldset table td:nth-child(2) {
    color: #374151;
    font-size: 12px;
}


/* =========================================================
   REQUIRED STAR
========================================================= */

fieldset font[style*="color:red"] {
    color: #dc2626 !important;
    font-weight: 700;
}


/* =========================================================
   FORM INPUTS
========================================================= */

fieldset input[type="text"],
fieldset select {
    width: 100%;
    max-width: 500px;
    height: 35px;
    padding: 8px 12px;
    border: 1px solid #cfd8e3;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

fieldset input[type="text"]:focus,
fieldset select:focus {
    border-color: #07579e;

    box-shadow: 0 0 0 3px rgba(7, 87, 158, .10);
}


/* =========================================================
   SPECIFIC INPUTS
========================================================= */

#Mobile_No,
#CMobile_No {
    max-width: 250px;
}

#Email,
#CEmail {
    width: 100% !important;
    max-width: 500px;
}


/* =========================================================
   RADIO
========================================================= */

fieldset input[type="radio"] {
    accent-color: #07579e;
    margin-right: 4px;
}

fieldset input[type="radio"] + * {
    vertical-align: middle;
}


/* =========================================================
   NOTES
========================================================= */

fieldset font[style*="#990033"] {
    color: #990033 !important;
    font-size: 11px !important;
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: 600;
}


/* =========================================================
   ERROR / SESSION
========================================================= */

#container > table:first-child {
    background: transparent;
}

#container > table:first-child td > div[style*="color:red"] {
    color: #c2410c !important;
    padding: 0 15px !important;
    border-radius: 7px;
    margin-bottom: 0px;
}

.session-alert {
    background: #fff7ed;
    color: #dc2626;

    border: 1px solid #fed7aa;
    padding: 9px 15px;

    border-radius: 7px;

    text-align: center;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 10px;

    text-transform: uppercase;
}


/* =========================================================
   CAPTCHA
========================================================= */

.datatable {
    width: 100% !important;
}

.datatable td {
    /*padding: 12px !important;*/
    border-bottom: 1px solid #edf1f5;
}

/*.datatable td:first-child {
    width: 33%;
    color: #253858;
    font-weight: 600;
}*/

#TxtSecPin {
    width: 280px !important;
    height: 35px;
    border: 1px solid #cfd8e3;
    padding: 8px 12px;
}

#mainCaptcha {
    width: 110px !important;
    height: 35px;
    border: 1px solid #d1d5db !important;
    background: #f5f7fa !important;
    color: #14233C !important;
    font-size: 18px !important;
    font-weight: bold;
    text-align: center;
}

#refresh {
    width: 24px;
    height: 24px;

    cursor: pointer;
    vertical-align: middle;
    margin-left: 8px;
}


/* =========================================================
   AGE
========================================================= */

#ageonDatemyDiv {
    color: #07579e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.btnSubmit {
    border: 0;

    background: #003862;
    color: #fff;

    padding: 12px 35px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: .25s;
}

.btnSubmit:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(245, 158, 11, .3);
}


/* =========================================================
   SERVICE PERIOD
   YEAR / MONTH / DAY
========================================================= */

#Ex_Ser_year,
#Ex_Ser_month,
#Ex_Ser_day,
#cont_Ser_year,
#cont_Ser_month,
#cont_Ser_day {
    display: inline-block !important;
    width: 100px !important;
    height: 35px !important;
    margin-right: 5px;
    vertical-align: middle;
}


/* =========================================================
   LOGIN CONTAINER
========================================================= */

.login-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
}

.mid_col.login-box {
    flex: 1;
    background: #fff;
    border: 1px solid #dbe2ea;
    padding: 25px 30px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    box-sizing: border-box;
}


/* =========================================================
   LOGIN TITLE
========================================================= */

.login-title {
    margin: 0 0 25px;
    padding-bottom: 12px;

    text-align: center;

    font-size: 25px !important;

    color: #14233C;

    border-bottom: 2px solid #14233C;
}


/* =========================================================
   LOGIN MESSAGE
========================================================= */

.login-message {
    color: #d00000;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.error-message {
    color: #d00000;

    font-size: 14px;
    font-weight: bold;

    text-align: center;

    margin-bottom: 15px;
}


/* =========================================================
   LOGIN FIELDS
========================================================= */

.login-field {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.login-field label {
    width: 150px;
    color: #14233C;
    font-size: 14px;
    font-weight: bold;
    text-align: right !important;
    padding-right: 10px;
}

.login-field input[type="text"],
.login-field input[type="password"] {
    width: 280px;
    height: 38px;
    padding: 5px 10px;
    border: 1px solid #b8c2cc;
    background: #fff;
    color: #14233C;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.login-field input:focus {
    border-color: #14233C;
    box-shadow: 0 0 0 2px rgba(20, 35, 60, .12);
}


/* =========================================================
   LOGIN CAPTCHA
========================================================= */

.captcha-field {
    align-items: flex-start;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

#loginSub {
    border: 0;

    background: #003862;
    color: #fff;

    padding: 12px 35px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: .25s;
    width: 280px;
}

/*#loginSub:hover {
    background: #243b64 !important;
}*/


/* =========================================================
   LOGIN NOTE
========================================================= */

.login-note {
    margin: 20px 0 0;

    text-align: center;

    color: #14233C;

    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}


/* =========================================================
   ALREADY LOGIN
========================================================= */

.already-login {
    text-align: center;
    padding: 35px 15px;
}

.already-icon {
    width: 50px;
    height: 50px;

    line-height: 50px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #e8f5e9;
    color: #198754;

    font-size: 25px;
    font-weight: bold;
}

.already-login h3 {
    margin: 0 0 8px;
    color: #14233C;
    font-size: 21px;
}

.already-login p {
    color: #666;
    margin-bottom: 20px;
}

.logout-btn {
    display: inline-block;

    padding: 11px 25px;

    border-radius: 7px;

    background: #14233C;
    color: #fff !important;

    font-weight: bold;
}

.logout-btn:hover {
    background: #243b64;
}


/* =========================================================
   UPCAR HEADER
========================================================= */

.upcar-header {
    width: 100%;

    box-sizing: border-box;

    background: linear-gradient(
        90deg,
        #c9e5fa 0%,
        #eaf6ff 50%,
        #d9efff 100%
    );

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 11%;
    gap: 15px;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   HEADER LEFT
========================================================= */

.header-left {
    flex: 0 0 150px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-left img {
    width: 112px;
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   HEADER CENTER
========================================================= */

.header-center {
    flex: 1;
    min-width: 0;

    text-align: center;

    color: #071d43;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hindi-title {
    font-family: Verdana, "Lucida Grande", "Segoe UI", Arial, sans-serif;

    font-size: 28px;
    font-weight: 600;

    line-height: 1.2;
    margin-bottom: 4px;
}

.english-title {
    font-family: Verdana, "Lucida Grande", "Segoe UI", Arial, sans-serif;

    font-size: 24px;
    font-weight: 600;

    line-height: 1.2;
    margin-bottom: 6px;
}

.address {
    font-family: Verdana, "Lucida Grande", "Segoe UI", Arial, sans-serif;

    font-size: 16px;

    line-height: 1.2;
    margin-bottom: 5px;
}

.department {
    font-family: Verdana, "Lucida Grande", "Segoe UI", Arial, sans-serif;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.2;
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.header-right {
    flex: 0 0 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right img {
    width: 105px;
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   TABLET - 1000px
========================================================= */

@media (max-width: 1000px) {

    .upcar-header {
        padding: 10px 2%;
        gap: 10px;
    }

    .header-left {
        flex-basis: 115px;
    }

    .header-left img {
        width: 110px;
    }

    .header-right {
        flex-basis: 90px;
    }

    .header-right img {
        width: 85px;
    }

    .hindi-title {
        font-size: clamp(19px, 2.5vw, 28px);
    }

    .english-title {
        font-size: clamp(18px, 2.5vw, 28px);
    }

    .address {
        font-size: clamp(12px, 1.5vw, 18px);
    }

    .department {
        font-size: clamp(10px, 1.1vw, 14px);
    }
}


/* =========================================================
   TABLET - 900px
========================================================= */

@media (max-width: 900px) {

    .nav-container {
        justify-content: center;
    }

    .nav-brand {
        display: none;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
    }

    .nav-menu li a {
        padding: 13px 10px;
        font-size: 12px;
    }

    .hero-content {
        width: 100%;
        padding: 30px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid,
    .help-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE - 768px
========================================================= */

@media (max-width: 768px) {

    #container {
        margin: 15px auto;
        padding: 0 10px;
    }

    .form_tab {
        font-size: 15px;
        padding: 12px 15px;
    }

    fieldset {
        padding: 8px;
    }

    fieldset table,
    fieldset tbody,
    fieldset tr,
    fieldset td {
        display: block;
        width: 100% !important;
    }

    fieldset table td:first-child {
        text-align: left;

        border-right: 0 !important;
        border-bottom: 0 !important;

        padding-bottom: 5px !important;

        background: #f8fafc;
    }

    fieldset table td:nth-child(2) {
        padding-top: 5px !important;
    }

    fieldset input[type="text"],
    fieldset select,
    #Email,
    #CEmail {
        max-width: 100% !important;
    }

    .datatable td:first-child {
        width: 100% !important;
    }

    .datatable td {
        display: block;
        width: 100% !important;
        text-align: left !important;
    }

    .btnSubmit {
        width: 100%;
        max-width: 350px;
    }

    /* LOGIN */

    .login-container {
        display: block;
    }

    .right_col1,
    .left_col {
        width: 100%;
        margin-bottom: 15px;
    }

    .mid_col.login-box {
        width: 100%;
        padding: 20px 15px;
    }

    .login-field {
        display: block;
    }

    .login-field label {
        display: block;
        width: 100%;
        margin-bottom: 6px;
    }

    .login-field input[type="text"],
    .login-field input[type="password"] {
        width: 100%;
        max-width: 300px;
    }
}


/* =========================================================
   MOBILE HEADER - 700px
========================================================= */

@media (max-width: 700px) {

    .upcar-header {
        flex-direction: column;

        padding: 15px 10px;
        gap: 10px;

        text-align: center;
    }

    .header-left {
        flex: none;
        width: 100%;
    }

    .header-left img {
        width: 100px;
    }

    .header-center {
        width: 100%;
        flex: none;
    }

    .hindi-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .english-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .address {
        font-size: 14px;
        line-height: 1.4;
    }

    .department {
        font-size: 11px;
        line-height: 1.4;
    }

    .header-right {
        flex: none;
        width: 100%;
    }

    .header-right img {
        width: 75px;
    }
}


/* =========================================================
   MOBILE - 600px
========================================================= */

@media (max-width: 600px) {

    .notification-inner {
        display: block;
    }

    .notification-title {
        width: 100%;
    }

    .notification-title:after {
        display: none;
    }

    .notification-content {
        padding: 10px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 15px 12px 0;
    }

    .hero {
        min-height: 300px;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .hero h1 {
        font-size: 21px;
    }

    .hero h2 {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-menu {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .nav-menu li {
        flex-shrink: 0;
    }
}


/* =========================================================
   SMALL MOBILE - 400px
========================================================= */

@media (max-width: 400px) {

    .upcar-header {
        padding: 12px 8px;
    }

    .header-left img {
        width: 85px;
    }

    .hindi-title {
        font-size: 19px;
    }

    .english-title {
        font-size: 17px;
    }

    .address {
        font-size: 12px;
    }

    .department {
        font-size: 10px;
    }

    .header-right img {
        width: 65px;
    }

    #Ex_Ser_year,
    #Ex_Ser_month,
    #Ex_Ser_day,
    #cont_Ser_year,
    #cont_Ser_month,
    #cont_Ser_day {
        width: 31% !important;
        max-width: none !important;
        margin-right: 1%;
    }
}


/* =========================================
   PERSONAL DETAILS PAGE
========================================= */

.mid_box {
    width: 100%;
    max-width: 1150px;
    margin: 20px auto;
}

.mid_box fieldset {
    /*border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(15,23,42,.08);*/
}


/* =========================================
   MAIN TABLE
========================================= */

.datatable {
    width: 100%;
    border-collapse: collapse;
}

.datatable td {
    border: 0;
}


/* =========================================
   REGISTRATION MESSAGE
========================================= */

.registration-message {
    padding: 12px 15px;
    text-align: center;
    color: #07579e;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    /*background: #f4f8fc;*/
    /*border: 1px solid #dce7f2 !important;*/
    /*border-radius: 7px;*/
}

.registration-message strong {
    color: #dc2626;
    font-size: 13px;
}


/* =========================================
   SUCCESS MESSAGE
========================================= */

.success-message {
    padding: 10px;
    text-align: center;
    color: #15803d;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   EDIT DETAILS
========================================= */

.edit-details {
    padding: 12px;
    text-align: right;
}

.edit-details a {
    color: #07579e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.edit-details a:hover {
    text-decoration: underline;
}

.edit-details span {
    color: #dc2626;
    text-transform: uppercase;
    font-size: 11px;
}



/* =========================================
   PERSONAL DETAILS TABLE
========================================= */

.details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.details-table tr {
    border-bottom: 1px solid #e5eaf0;
}

.details-table tr:last-child {
    border-bottom: 0;
}

.details-table td {
    padding: 10px 12px;
    vertical-align: middle;
    font-size: 12px;
}


/* LEFT LABEL */

.detail-label {
    width: 40%;
    text-align: right;
    /*background: #f6f8fb;*/
    color: #253858;
    font-weight: 600;
    border-right: 1px solid #e1e7ef !important;
}


/* RIGHT VALUE */

.detail-value {
    width: 60%;
    text-align: left;
    color: #1f2937;
    background: #fff;
    word-break: break-word;
}

.detail-value strong {
    color: #1f2937;
}

/* =========================================================
   ADDRESS TABLE
========================================================= */

.address-table {
    width: 100% !important;
    margin-top: 15px;

    border-collapse: collapse !important;
    border-spacing: 0 !important;

    table-layout: fixed !important;

    background: #fff;
}


/* =========================================================
   EXACT COLUMN WIDTH
========================================================= */

/* Label */
.address-table .address-col-label {
    width: 12% !important;
}

/* Value */
.address-table .address-col-value {
    width: 30% !important;
}


/* =========================================================
   TABLE CELLS
========================================================= */

.address-table td {
    box-sizing: border-box;
    /*padding: 8px 8px !important;*/
    vertical-align: middle;
    border: 0 !important;
    font-size: 12px !important;
}


/* =========================================================
   ADDRESS LABEL
========================================================= */

.address-table .address-label {
    width: 12% !important;

    padding: 8px 6px !important;

    color: #253858;

    font-size: 11px !important;

    font-weight: 600;

    line-height: 1.4;

    text-align: right !important;

    vertical-align: middle;

    border-right: 1px solid #e5eaf0 !important;

    box-sizing: border-box;
}


/* =========================================================
   ADDRESS VALUE
========================================================= */

.address-table .address-value {
    width: 38% !important;

    padding: 8px 10px !important;

    color: #1f2937;

    font-size: 12px;

    font-weight: 600;

    text-align: left !important;

    vertical-align: middle;

    box-sizing: border-box;
}


/* =========================================================
   HEADING
========================================================= */

.address-table .address-heading {
    padding: 8px 10px !important;

    background: transparent !important;

    border: 0 !important;

    color: #253858 !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    text-align: left !important;

    vertical-align: top;
}


/* =========================================================
   SAME ADDRESS CHECKBOX
========================================================= */

.address-table .same-address {
    display: inline-flex;

    align-items: center;

    margin-top: 5px;

    color: #374151;

    font-size: 9px;

    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;
}

.address-table .same-address input[type="checkbox"] {
    width: auto !important;
    height: auto !important;

    margin: 0 5px 0 0 !important;

    padding: 0 !important;
}


/* =========================================================
   INPUT
========================================================= */

.address-table input[type="text"] {
    display: block;

    width: 100% !important;

    max-width: 100% !important;

    height: 36px !important;

    margin: 0 !important;

    padding: 7px 10px !important;

    box-sizing: border-box !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 4px !important;

    background: #fff !important;

    color: #253858 !important;

    font-size: 12px !important;

    outline: none;
}


/* =========================================================
   SELECT
========================================================= */

.address-table select {
    display: block;

    width: 100% !important;

    max-width: 100% !important;

    height: 36px !important;

    margin: 0 !important;

    padding: 5px 10px !important;

    box-sizing: border-box !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 4px !important;

    background: #fff !important;

    color: #253858 !important;

    font-size: 12px !important;

    outline: none;
}


/* =========================================================
   TEXTAREA
========================================================= */

.address-table textarea {
    display: block;

    width: 100% !important;

    max-width: 100% !important;

    height: 100px !important;

    min-height: 100px !important;

    margin: 0 !important;

    padding: 8px 10px !important;

    box-sizing: border-box !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 4px !important;

    background: #fff !important;

    color: #253858 !important;

    font-size: 12px !important;

    resize: vertical;

    outline: none;
}


/* =========================================================
   REMOVE EXTRA BR BEFORE TEXTAREA
========================================================= */

.address-table .address-value > br {
    display: none;
}


/* =========================================================
   ROW BORDER
========================================================= */

.address-table tbody tr:not(:first-child) {
    border-bottom: 1px solid #edf1f5;
}


/* =========================================================
   FOCUS
========================================================= */

.address-table input[type="text"]:focus,
.address-table select:focus,
.address-table textarea:focus {
    border-color: #07579e !important;

    box-shadow: 0 0 0 2px rgba(7, 87, 158, 0.08) !important;
}


/* =========================================================
   REQUIRED STAR
========================================================= */

.address-table font[style*="color:red"] {
    color: #dc2626 !important;

    font-weight: 700 !important;
}


/* =========================================================
   RIGHT SIDE SPACE
========================================================= */

.address-table .address-value:nth-child(4) {
    padding-right: 25px !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .address-table {
        table-layout: auto !important;
    }

    .address-table .address-col-label,
    .address-table .address-col-value {
        width: auto !important;
    }

}
/* =========================================
   PAYMENT
========================================= */

.payment-button {
    display: inline-block;
    margin: 15px 0;
    padding: 11px 25px;
    background: #083880;
    border-radius: 6px;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border: 0px solid #e5eaf0 !important;
}

.payment-button a {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-button:hover {
    background: #07579e;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:768px) {

    .mid_box {
        width: 100%;
        margin: 10px auto;
    }

    .mid_box fieldset {
        padding: 8px;
    }

    .registration-message {
        font-size: 11px;
        padding: 10px;
    }

    .form_tab {
        font-size: 14px;
        padding: 11px 14px;
    }

    .details-table,
    .details-table tbody,
    .details-table tr,
    .details-table td {
        display: block;
        width: 100% !important;
    }

    .details-table tr {
        border-bottom: 1px solid #e5eaf0;
        padding: 0;
    }

    .detail-label {
        text-align: left !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        padding: 8px 10px 4px !important;
    }

    .detail-value {
        padding: 5px 10px 10px !important;
    }


    /* Address mobile */

    .address-table,
    .address-table tbody,
    .address-table tr,
    .address-table > tbody > tr > td {
        display: block;
        width: 100% !important;
    }

    .address-table > tbody > tr > td {
        padding: 5px 0;
    }

    .address-inner-table {
        width: 100%;
    }

    .address-label,
    .address-value {
        width: auto !important;
    }

    .address-label {
        text-align: left !important;
    }

    .address-value {
        text-align: left !important;
    }

    .edit-details {
        text-align: center;
    }

    .payment-button {
        width: 90%;
        text-align: center;
    }

}


/* ================================
   SUBMIT TABLE - NO BORDER
================================ */

.submit-table,
.submit-table tbody,
.submit-table tr,
.submit-table td {
    border: 0 !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.submit-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.submit-table > tbody > tr > td,
.submit-table > tbody > tr > td:first-child {
    width: auto !important;
    padding: 10px 0 !important;
    text-align: center !important;
    border: 0 !important;
    font-weight: 700;
}

.fix-table{
	padding: 5px 0px !important;
    border-right: 0px solid #e5eaf0 !important;
}

.photo-buttons-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}

.photo-buttons-row form {
    margin: 0;
    padding: 0;
}

.photo-buttons-row .btnSubmit,
.photo-buttons-row .red_btn1 {
    margin: 0;
}

.photo-buttons-row a {
    text-decoration: none;
}


.login-box {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}


.login-header {
    text-align: center !important;
    text-transform: uppercase;
}


.loginForm {
    width: 524px;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 18px 0 35px !important;
}
