﻿
@import url(http://fonts.googleapis.com/css?family=Bree+Serif);




@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

/******************* BODY STYLING *******************/
html {
    height: 100%;
    background: url(/Content/images/Newbg.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

body {
    height: 100%;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
}

#ParentLogin {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /*padding: 0 6vw;*/
    padding: 0px 34px 0px 0px;
    position: relative;
}

.FirstLog {
}

#wrapper {
    width: 100%;
    max-width: 480px;
}

/******************* LOGIN FORM *******************/
.login-form.glass-card {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-radius: 24px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    color: #fff;
}

/******************* HEADER *******************/
.login-form .header {
/*    padding: 0 0 24px 0;
*/    text-align: center;
}

.logoParent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .logoParent img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom:24px;
    }

/******************* CONTENT *******************/
.login-form .content {
    padding: 0 0 0 0;
}

    /* Input field */
    .login-form .content .input {
        width: 100%;
        padding: 12px 14px;
        font-weight: 400;
        font-size: 14px;
        color: #9d9e9e;
        text-shadow: 1px 1px 0 rgba(256, 256, 256, 1);
        background: #fff;
        border: 1px solid #fff;
        border-radius: 8px;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .login-form .content .password {
        margin-top: 16px;
    }

    .login-form .content .input:hover {
        background: #dfe9ec;
        color: #414848;
    }



    .login-form .content fieldset {
        width: 100%;
        margin-top: 18px;
        padding: 10px 12px;
        border: 2px solid #fff;
        border-radius: 10px;
        color: #fff;
    }

/******************* RESPONSIVE *******************/

@media (max-width: 992px) {
    #ParentLogin {
        justify-content: center; 
        padding: 24px 16px;
    }

    .login-form.glass-card {
        max-width: 380px;
    }
}

@media (max-width: 576px) {
    #ParentLogin {
        padding: 24px 12px;
    }

    .login-form.glass-card {
        padding: 18px;
        max-width: 360px;
    }

    .login-form .content fieldset {
        font-size: 14px;
    }

    .NewHeader {
        font-size: 20px;
        line-height: 26px;
    }

    .NewSecondHeader {
        font-size: 14px;
        line-height: 20px;
    }
}

.NewHeader {
    color: #EEF3FF;
    text-align: center;
    font-family: "IBM Plex Sans" !important;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.15px;
    margin-bottom: 8px;
}

.NewSecondHeader {
    color: #EEF3FF;
    text-align: center;
    font-family: "IBM Plex Sans" !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.18px;
}


.login-form .footer {
    padding: 25px 30px 40px 30px;
    overflow: auto;
    background: #d4dedf;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
    -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
    -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
}


    .login-form .footer .Loginbutton {
        float: right;
        padding: 11px 25px;
        font-family: 'Bree Serif', serif;
        font-weight: 300;
        font-size: 18px;
        color: #fff;
        text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
        background: #56c2e1;
        border: 1px solid #46b3d3;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
        -moz-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
        -webkit-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
    }

        .login-form .footer .Loginbutton:hover {
            border-radius: var(--rounded-8, 8px);
            border: 1px solid var(--general-unofficial-primary-hover, #171EB6);
            background: var(--general-unofficial-primary-hover, #171EB6);
            /* Shadow/xs */
            box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
        }



 /*Register button*/ 
.login-form .footer .register {
        display: block;
        float: right;
        padding: 10px;
        margin-right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        font-family: 'Bree Serif', serif;
        font-weight: 300;
        font-size: 18px;
        color: #414848;
        text-shadow: 0px 1px 0 rgba(256,256,256,0.5);
    }

        .login-form .footer .register:hover {
            color: #3f9db8;
        }

     


.role-toggle {
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Sans" !important;
    color: #EEF3FF;
}

.role-toggle-title {
    font-size: 13px;
    opacity: 0.8;
}

.role-tabs {
    display: flex;
    background: #ffffff;
    border-radius: 999px;
    padding: 3px;
    position: relative;
}

    .role-tabs input[type="radio"] {
        display: none;
    }

.role-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    cursor: pointer;
    color: #0F172A;
    transition: all 0.2s ease;
}

#cbIsUSer:checked + label[for="cbIsUSer"],
#cbIsCustomer:checked + label[for="cbIsCustomer"] {
    background: #145DFF;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(20, 93, 255, 0.6);
}

/* رسالة الخطأ */
.error-message {
    font-size: 11px;
    color: #ff6b6b;
    padding-top: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: "IBM Plex Sans";
    color: #EF4444;
    margin-left: 4px;
}


.login-form .footer {
    padding: 0 0 0 0;
    background: transparent;
    border-top: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

#ResetPassword {
    color: var(--color-neutral-solid-50, #F6F6F6);
    /* Label/Label-1/Semi Bold */
    font-family: var(--Label-Label-1-fontFamily, "IBM Plex Sans");
    font-size: var(--Label-Label-1-fontSize, 16px);
    font-style: normal;
    font-weight: var(--Weights-SemiBold, 600);
    line-height: var(--Label-Label-1-lineHeight, 22px); /* 137.5% */
    letter-spacing: var(--Label-Label-1-letterSpacing, -0.18px);
    text-decoration: none;
    margin-top:8px;
    text-align:right;
}

    #ResetPassword:hover {
        opacity: 1;
    }

.login-form .footer .Loginbutton {

    display: flex;
    padding: 10px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: var(--rounded-8, 8px);
    border: 1px solid var(--general-primary, #1B35F5);
    background: var(--general-primary, #1B35F5);
    /* Shadow/xs */
    box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
}

    .login-form .footer .Loginbutton:hover {
        display: flex;
        padding: 10px 18px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: var(--rounded-8, 8px);
        border: 1px solid var(--general-unofficial-primary-hover, #171EB6);
        background: var(--general-unofficial-primary-hover, #171EB6);
        /* Shadow/xs */
        box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    }

    .login-form .footer .Loginbutton:active {
        background: #0f4cdc;
        box-shadow: 0 6px 16px rgba(15, 76, 220, 0.6);
        transform: translateY(0);
    }

#copyright {
    color: var(--color-neutral-solid-50, #F6F6F6);
    text-align: center;
    /* Label/Label-1/Regular */
    font-family: var(--Label-Label-1-fontFamily, "IBM Plex Sans");
    font-size: var(--Label-Label-1-fontSize, 16px);
    font-style: normal;
    font-weight: var(--Weights-Regular, 400);
    line-height: var(--Label-Label-1-lineHeight, 22px); /* 137.5% */
    letter-spacing: var(--Label-Label-1-letterSpacing, -0.18px);
    margin-top:24px;
}
    #copyright .CpRight {
        color: var(--color-primary-solid-500, #365CFF);
        /* Label/Label-2/Semi Bold */
        font-family: "IBM Plex Sans", sans-serif !important;
        font-size: var(--Label-Label-2-fontSize, 14px);
        font-style: normal;
        font-weight: var(--Weights-SemiBold, 600);
        line-height: var(--Label-Label-2-lineHeight, 20px); /* 142.857% */
        letter-spacing: var(--Label-Label-2-letterSpacing, -0.16px);
        text-decoration: none;
        margin-left: 4px;
    }

/* ============================
   Floating Label Input Group
   ============================ */
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    width: 100%;
}

    .input-group label {
        font-size: 15px;
        font-weight: 500;
        font-family: "IBM Plex Sans";
        color: #EEF3FF;
        margin-left: 4px;
        margin-bottom: 4px;
    }

  /*  .input-group input {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        font-family: "IBM Plex Sans";
        background: #ffffff;
        border-radius: 10px;
        border: 1px solid #E5E7EB;
        outline: none;
        color: #0F172A;
        transition: all 0.15s ease;
    }*/

        .input-group input::placeholder {
            color: #9CA3AF; 
            opacity: 0.6;
        }

     


.password-group {
    position: relative;
}

    .password-group .toggle-pass {
        position: absolute;
        right: 14px;
        top: 36%;
        cursor: pointer;
        opacity: 0.7;
    }

        .password-group .toggle-pass:hover {
            opacity: 1;
        }

    .password-group img {
        width: 22px;
        height: 22px;
    }


.input-default {
    display: flex;
    min-height: 36px;
    padding: 7.5px var(--3, 12px);
    align-items: center;
    gap: var(--2, 8px);
    align-self: stretch;
    border-radius: var(--rounded-8, 8px);
    border: 1px solid var(--general-border, #D1D1D1);
    background: var(--general-background, #FFF);
    /* shadow-xs */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.input-error {
    display: flex;
    min-height: 36px;
    padding: 7.5px var(--3, 12px);
    align-items: center;
    align-self: stretch;
    border-radius: var(--rounded-8, 8px);
    border: 2px solid var(--general-unofficial-destructive-border, #EF4444);
    background: var(--general-background, #FFF);
}

#txtUserName:focus,
#txtPassword:focus {
    outline: none !important;
    border-radius: var(--rounded-8, 8px);
    border: 1px solid var(--color-primary-solid-400, #5984FF);
    background: var(--general-background, #FFF);
    /* Focus/primary/100 */
    box-shadow: 0 0 0 4px var(--color-primary-solid-100, #D9E3FF);
}

