﻿:root {
    /* Default settings (will be overridden by stored settings) */
    --left-text-color: #ffffff;
    --left-bg-color: #0b5f8a;
    --left-font-family: "Montserrat", Arial, sans-serif;
    --left-font-size: 16px;
    --right-text-color: #111827;
    --right-bg-color: #ffffff;
    --right-font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --right-font-size: 19px;
    --overlay-enabled: 1;
    --overlay-color: rgba(0,0,0,0.5);
    --container-gap: 20px;
}

* {
    box-sizing: border-box;
}
a
{
    cursor:pointer;
}
/* Apply right-side font settings globally for form elements */
html, body {
    height: 100%;
    margin: 0;
    font-family: var(--right-font-family);
    font-size: var(--right-font-size); /* <-- Right side font size applied globally */
    background: var(--right-bg-color);
    color: var(--right-text-color);
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    /*gap: var(--container-gap);*/
    padding: 0px;
}

/* Layout: left 70% right 30% on wide screens */
.left, .right {
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.left {
    flex: 7.3;
    background: linear-gradient(180deg, #155dfc, #155dfc);
    color: var(--left-text-color);
    font-family: var(--left-font-family); /* <-- left font family */
    font-size: var(--left-font-size); /* <-- left font size base */
    padding: 0px;
    align-items: center;
    position: relative;
}

/* Top-left circle */
    .left::before {
        content: "";
        position: absolute;
        top: -180px;
        left: -100px;
        width: 400px;
        height: 400px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

/* Bottom-right circle */
    .left::after {
        content: "";
        position: absolute;
        bottom: -180px;
        right: -100px;
        width: 450px;
        height: 450px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }
.social-media {
    background: rgb(255 255 255 / 0.1);
    padding: 3px 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .social-media h5 {
        font-size: 17px;
    }
    .social-media ul {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .social-media ul img
    {
        height: 32px;
    }

    .social-media ul li a
    {
        font-size: 17px;
    }

    .my-footer.bottom {
        bottom: 55px !important;
        top: initial;
    }
.my-footer {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
/*    background-color: rgba(255, 255, 255, 0.10); 
    backdrop-filter: blur(12px); 
    border-top: 1px solid rgba(255, 255, 255, 0.20); */
    z-index: 20;
}
.my-footer.top {
    top: 0;
}
.footerbody {
    display: flex;
    gap: 20px;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

    .footerbody label {
        font-family: var(--left-font-family);
        color: var(--left-text-color);
        font-weight: 400;
        line-height: 0.2;
        padding: 15px 14px 16px;
        background: #08f98466;
    }
   
        .footerbody label:hover {
            font-weight: 500;
            line-height: 0px;
            background-color: rgba(255, 255, 255, 0.10);
            backdrop-filter: blur(12px);
            border-top: 1px solid rgba(255, 255, 255, 0.20);
            padding: 15px 14px 16px;
        }

.right {
    flex: 2.7;
    background: var(--right-bg-color);
    color: var(--right-text-color);
    padding: 30px;
    justify-content: center;
    position: relative;
}
.betauide {
    position: absolute;
    top: 4px;
    z-index: 9;
    right: 4px;
    font-size: 15px;
    background: #155dfc;
    color: #fff;
    padding: 2px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
    .betauide:hover {
        background: rgb(72 191 111);
        color: #fff;
        text-decoration: none;
    }
.settinghhh {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 9;
}
/* Card inside right */
.login-card {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}
    .logo-row .logodiv {
        width: 110px;
        height: 110px;
        overflow: hidden;
        background: #c1e5f7;
        border-radius: 50%;
        padding: 11px;
    }
    .logo-row img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
.namediv
{
    text-align: center;
}
    .namediv h5 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: 400;
    }
.passwordEyeIcon {
    position: absolute;
    right: 5px;
    bottom: 15px;
}
    /* use right font family and scale name from right font-size */
    .school-name {
        font-weight: 700;
        font-size: calc(var(--right-font-size) * 1.1); 
        color: var(--right-text-color);
        line-height: 1.2;
    }

/* Form inputs */
.form-group {
    position: relative;
    margin-bottom: 20px;
}
    .form-group.digit-group
    {
        display: flex;
        gap: 12px;
    }
        .form-group.digit-group input[type="text"] {
            padding: 10px 10px 10px 10px;
            text-align: center;
        }
        .form-group.digit-group form {
            display: flex;
            gap: 12px;
        }


    .form-group p {
        font-size: .875rem;
        margin-bottom: 7px;
        letter-spacing: .8px;
    }

    .form-group i {
        position: absolute;
        left: 10px;
        bottom: 3px;
        transform: translateY(-50%);
        font-size: 23px;
        color: #99a1af;
    }
input[type="text"], input[type="password"], #UserDropdown {
    width: 100%;
    padding: 10px 10px 10px 41px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: var(--right-font-family);
    font-size: .895rem;
    letter-spacing: .8px;
}
.btn {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 0;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--right-font-family);
    font-size: 1rem;
}

.btn-primary {
    background: #155dfc;
    color: #fff;
    margin-top: 8px;
}

    .btn-primary:hover {
        background: #047fbe;
    }

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}

.link {
    color: var(--right-text-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.88rem;
    opacity: 0.9;
    font-family: var(--right-font-family);
}


p.app-download {
    font-size: 12px;
    color: #6b7280; /* text-gray-500 */
    text-align: center;
    line-height: 2.5;
    height: 120px;
}

    p.app-download .store {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px;
        margin: 0 6px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        text-decoration: none;
        color: #111827;
        font-size: 12px;
        background: #ffffff;
        transition: all 0.3s ease;
    }

        p.app-download .store img {
            width: 16px;
            height: 16px;
        }

        p.app-download .store:hover {
            background: #f3f4f6;
            border-color: #d1d5db;
        }

#schoolcodeforM {
    font-weight: 600;
    color: #0b5f8a;
}

/* Slider styles inside left */
.slider-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

.slider-frame {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make slide text sizing derive from --left-font-size */
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--left-font-size); /* <-- slide text base follows left font size */
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
    color: var(--left-text-color);
    opacity: 0;
}

    .slide.active {
        opacity: 1;
    }

    /* overlay */
    .slide .overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay-color);
        opacity: calc(var(--overlay-enabled) * 1);
        transition: opacity .25s ease, background .25s ease;
        pointer-events: none;
    }

/* title/desc under slider: use left font sizes (title slightly larger, desc slightly smaller) */
.slide-info {
    width: 94%;
    max-width: 100%;
    text-align: center;
    font-family: var(--left-font-family);
    color: var(--left-text-color);
    position:absolute;
}

.slide-title {
    font-size: calc(var(--left-font-size) * 1.25); /* title scaled from left base */
    font-weight: 700;
    margin: 6px 0;
}

.slide-desc {
    font-size: calc(var(--left-font-size) * 0.9);
    opacity: 0.95;
    margin: 0;
}

/* slider controls */
.dots {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    position: absolute;
    bottom: 55px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    opacity: 0.6;
}

    .dot.active {
        background: #fff;
        opacity: 1;
    }


    .hided
    {
        display: none;
    }
    .showd{
        display: block;
    }


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}
.OTPModalContent {
    margin: auto;
    height: 350px;
    width: 55vw;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;
    border-radius: 16px;
    padding: 0px;
    overflow: hidden;
}
.modal-head {
    color: #000;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
    padding: 25px 24px;
    border-radius: 30px 0px 0px;
}
.LoginOtpPopUp {
    padding: 24px;
    max-height: calc(-180px + 80vh);
    overflow: auto;
    width: 60%;
    margin: 0px auto;
}
.LoginOtpPopUp input {
    padding: 10px 10px 10px 10px;
}


.btn-secondary {
    color: #fff;
    background-color: #d1d2d1;
    border-color: #cacccb;
    margin-top: 8px;
}
    .modal-head h4 {
        margin: 0px;
        font-family: Roboto, Helvetica, Arial, sans-serif;
        font-size: 20px;
        line-height: 1.334;
        letter-spacing: 0em;
        font-weight: 700;
    }




.popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 999;
}

.popupContent {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    width: 50%;
    text-align: left;
}

    .popupContent h3 {
        position: relative;
        margin: 0px 0px 20px;
    }

    .popupContent h5 {
        letter-spacing: 1px;
    }

    .popupContent .side {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

.closePopup {
    margin-top: 0px;
    padding: 6px 12px;
    color: #444;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: -13px;
    font-family: Roboto, sans-serif;
}

    .closePopup:hover {
        background: #222;
        color: #fff;
    }

.popupOverlay h3 {
    margin-top: 7pt;
    margin-right: 0in;
    margin-bottom: 6pt;
    margin-left: 0in;
    page-break-after: avoid;
    font-size: 14pt;
    font-family: 'Arial Black', sans-serif;
    font-weight: bold;
    letter-spacing: .5px;
}

.popupOverlay p.MsoBodyText,
.popupOverlay li.MsoBodyText,
.popupOverlay div.MsoBodyText {
    margin-top: 0in;
    margin-right: 0in;
    margin-bottom: 7pt;
    margin-left: 0in;
    line-height: 150%;
    font-size: 12pt;
    font-family: "Liberation Serif", serif;
    letter-spacing: .5px;
}

.popupOverlay a:link,
.popupOverlay span.MsoHyperlink {
    color: navy;
    text-decoration: underline;
}

.popupOverlay .MsoChpDefault {
    font-size: 12pt;
    font-family: "Liberation Serif", serif;
}

@page WordSection1 {
    size: 595.3pt 841.9pt;
    margin: 56.7pt 56.7pt 56.7pt 56.7pt;
}

div.WordSection1 {
    page: WordSection1;
}

.popupOverlay ol {
    margin-bottom: 0in;
}

.popupOverlay ul {
    margin-bottom: 0in;
}
/*.allbddy
{
    height: 300px;
}

.allbddy1 {
    height: 350px;
}*/
    /*input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    background-color: transparent !important;
    background-clip: content-box !important;
}
input:-webkit-autofill {
    filter: none !important;
    transition: background-color 9999s ease-out 0s !important;
}*/
    input:focus, input:focus-visible, select:focus, select:focus-visible {
        border: 1px solid rgba(0, 0, 0, 0.12) !important;
        outline: none !important;
        box-shadow: none !important;
    }
.selectusername .form-group i {
    bottom: 0px;
}

.fottersm {
    position: absolute;
    bottom: 0px;
    opacity: 0.7;
    font-size: 12px;
    right: 7px;
    display: none;
}

.ftabpr {
    position: absolute;
    bottom: 40px;
    opacity: 1;
    font-size: 15px;
    display: flex;
    justify-content: center;
    width: 85%;
}
.ftabpr1 {
    position: absolute;
    bottom: 10px;
    opacity: 1;
    font-size: 15px;
    display: flex;
    justify-content: center;
    width: 85%;
}
.ftabpr1 p{
    font-size: 15px;
}
    .scgoo-moto {
        position: absolute;
        width: 100%;
        bottom: 0px;
        padding: 5px 20px;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.20);
    }

    .scgoo-moto p {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        cursor: pointer;
        position: relative;
        font-size: 15px;
        color: #fff;
    }


    .scgoo-moto p:hover::after {
        content: attr(data-fulltext);
        position: absolute;
        left: 0px;
        bottom: 48px;
        padding: 6px 10px;
        border-radius: 4px;
        white-space: normal;
        width: 100%;
        z-index: 999;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
        text-align: center;
        background-color: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.20);
    }



   /* TCverification Popup */

.modaltc.active {
    display: flex;
    z-index: 99;
    padding: 0px!important;
}

.modaltc .form-container {
    margin: auto;
    height: auto;
    width: 55vw;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;
    border-radius: 16px;
    padding: 0px;
    position: relative;
    max-height: calc(-180px + 80vh);
    overflow: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    font-size: 38px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    width: 43px;
    color: #000;
    z-index: 9;
}

.modaltc .form-container h2 {
    color: #000;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
    padding: 25px 24px;
    border-radius: 30px 0px 0px;
    margin: 0px;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.334;
    letter-spacing: 0em;
    font-weight: 700;
}

.modaltc .modalp {
    padding: 30px;
    margin-bottom:50px;
}
.showdtinpopup {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin-bottom: 0px!important;
}
    .showdtinpopup p {
        width: 48%; 
        box-sizing: border-box;
        font-size: 15px;
        margin-bottom: 20px;
    }
    .modaltc .form-container label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #4a4a4a;
        font-size: 16px;
    }

    .modaltc .form-container label span {
        color: red;
        font-weight: normal;
    }

.modaltc .form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

    .modaltc .form-container input:focus {
        border-color: #008542;
        outline: none;
        box-shadow: 0px 0px 5px rgba(0, 133, 66, 0.5);
    }

.modaltc .modalp button {
    width: 48%;
    padding: 12px;
    background: linear-gradient(90deg, #008542, #00a05a);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0px 1%;
    float: left;
}

    .modaltc .modalp button:hover {
        background: linear-gradient(90deg, #00a05a, #008542);
    }

.modaltc .clear-btn {
    width: 100%;
    padding: 12px;
    background-color: #f4f4f4;
    color: #4a4a4a;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

    .modaltc .clear-btn:hover {
        background-color: #e2e2e2;
        color: #333;
    }

.modaltc .back-btn {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background-color: #f4f4f4;
    color: #4a4a4a;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

    .modaltc .back-btn:hover {
        background-color: #e2e2e2;
        color: #333;
    }

.modaltc .verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008542;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin: 10px auto;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

    .modaltc .verified-badge svg {
        margin-right: 8px;
    }

.modaltc .error-message {
    color: red;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin: 0 auto;
    background-color: #f44336;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 30px;
    font-size: 17px;
    transform: translateX(-50%);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

    .toast.show {
        visibility: visible;
        animation: fadeInOut 3s;
    }



@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }

    10%, 90% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





    /* Responsive behavior */
    @media (min-height: 560px) and (max-height: 769px) {
        .logo-row {
        gap: 5px;
        margin-bottom: 10px;
    }
    .right {
        padding: 10px;
        justify-content: flex-start;
    }
    .ftabpr, .ftabpr1{
        position: static;
        width: 100%;
    }
        .logo-row .logodiv {
            width: 90px;
            height: 90px;
        }
        .form-group p {
            font-size: .775rem;
        }
}

@media (max-width:1500px) 
{
    .left {
        flex: 6.5;
    }
    .right {
        flex: 3.5;
    }
}

@media (max-width: 1366px) 
{
   /* .allbddy {
        height: 257px;
    }*/
    .form-group {
        margin-bottom: 8px;
    }
        .form-group p {
            margin-bottom: 2px;
        }
        .form-group i {
            bottom: 0px;
        }
    input[type="text"], input[type="password"], #UserDropdown {
        padding: 7px 10px 7px 41px;
    }
}
@media (max-width: 991px) {
    .showdtinpopup p {
        width: 100%; 
    }
    .page {
        display: flex;
        flex-direction: column;
    }

    .left {
        order: 2;
        flex: unset;
    }

    .right {
        order: 1;
        flex: unset;
        padding: 10px;
    }

    .login-card {
        max-width: 96%;
    }

    .left, .right {
        width: 100%;
    }

    .slider-wrap {
        height: max-content;
    }

    .slider-frame {
        height: 45vh;
    }

    .ftabpr, .ftabpr1 {
        position: static;
        width: 100%;
    }

    p.app-download {
        height: 120px;
    }

    .footerbody {
        gap: 5px;
    }
}

@media (max-width:600px) {
    .slider-frame {
        height: 36vh;
    }

    .slide-title {
        font-size: calc(var(--left-font-size) * 1.06);
    }

    .slide-desc {
        font-size: calc(var(--left-font-size) * 0.88);
    }

    .school-name {
        font-size: calc(var(--right-font-size) * 1.06);
    }
}

/* small helpers */
.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
