﻿body {
    margin: 0;
    padding: 0;
}

.body-content:has(".signin-container") {
    max-width: 400px;
    margin: 100px auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 50px;
    opacity: 0;
    transform: translateY(-50px);
    animation-name: slideIn;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.error-message:has(".signin-container") {
    position: absolute;
    top: 20px;
    width: 90%;
    background-color: #c55959;
    left: 0px;
    right: 0px;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 7px;
    margin: auto;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signin-container h1,
.signin-container h3 {
    margin: 29px 20px 20px;
    text-align: center;
}

    .signin-container h1.signin-title {
        text-align: inherit;
        margin-left: 45px;
    }

.signin-container .signin-title img {
    width: 25% !important;
}

.signin-container footer {
    text-align: center;
}

.signin-container img {
    vertical-align: middle;
    width: 15%;
}

.signin-container .SignInLink {
    text-align: center;
    display: block;
    width: 85%;
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(173 209 239 / 51%) 0%, rgb(13 93 228 / 60%) 100%);
    color: #fff;
    border: none;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .signin-container .SignInLink:hover {
        background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(160 192 219) 0%, rgb(15 80 190 / 88%) 100%);
        text-decoration: none;
    }

.signin-container .disabledbutton {
    pointer-events: none;
    opacity: 0.6;
}
/*----------------------------*/
/*DefaultTaskManagementLevels*/
/*--------------------------*/
.spiner {
    margin-top: -40px;
    top: inherit !important;
    right: 15px !important;
}

.agiLogo {
    display: table;
    margin: auto;
    width: 20% !important;
}

.signin-container h5 {
    margin: 29px 0px 20px;
    text-align: center;
}

.signin-container h3 {
    margin: 29px 5px 20px;
    text-align: center;
}
.forgetBSubmit {
    display: flex;
    justify-content: center;
    align-items: center;
}
#forgot-password-form form button {
    width: 75%;
    max-width: 280px;
    
}

.save {
    text-align: center;
    display: block;
    width: 100%;
    height: 30px;
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(173 209 239 / 51%) 0%, rgb(13 93 228 / 60%) 100%);
    color: #fff;
    border: none;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .save:hover {
        background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(160 192 219) 0%, rgb(15 80 190 / 88%) 100%);
        text-decoration: none;
    }

/*----------*/
/*agat-auth*/
/*---------*/
.agat-auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.agat-auth {
    /*text-align: center;*/
}

.agat-auth h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    color: #024c95;
    font-weight: 500;
}

.agat-auth label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.agat-auth #forgot-password-email {
    width: 100%;
    padding: 10px;
    margin: 0 0;
    margin-bottom: 20px;
    color: black;
    border-radius: 10px;
    border: 2px solid rgba(209, 233, 255, 1);
    background: #FAFBFE;
    box-shadow: 0px 3px 15px 0px rgba(54, 103, 226, 0.25);
    height: 45px;
}

    .agat-auth input[type="text"],
    .agat-auth input[type="password"] {
        padding: 10px;
        margin: 0 0;
        color: black;
        border:none;
        border-bottom: 2px solid rgb(224 224 226);
        border-radius: 4px;
    }

.user-details {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.agat-auth form {
    width: 90%;
}

.agat-auth #signup-form input[type="text"],
.agat-auth #signup-form input[type="password"] {
    width: 100%;
    margin-right: 24px;
    
}

input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    border-color: transparent;
    vertical-align: top;
}


.container-buttons {
    display: flex;
    align-items: baseline;
    width: 100%;
}

.container-buttons {
    display: flex;
    align-items: baseline;
    /* width: 85%; */
        flex-wrap: nowrap;
        align-content: center;
        /* justify-content: center; */
        flex-direction: column;
    }

.agat-auth button[type="submit"] {
    
    background: radial-gradient(60.54% 58.85% at 59.83% 25%, #157DDF 32.3%, #4A47F2 100%);
}

.singup-btn button {
    border: 2px solid #177EE0 !important;
    color: #177EE0;
    height: 45px;
    text-align: center;
}



.agat-auth button[type="submit"], .singup-btn button {
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    background-color: #ffffff;
    text-align: center;
    border-radius: 4px;
    border: 2px solid #e0e0e2;
    background: #FFF;
    height: 45px;
    width: 100%;
    margin-top: 15px;
}

    .agat-auth button[type="submit"]:hover {
        /*background: linear-gradient(-90deg, #003A74, #006AD5);*/
    box-shadow: 1px 5px 9px rgba(211, 211, 211, .9);
    border-color: #4A90E2;
    /*color: white;*/
}

.agat-auth input {
    /*max-width: 276px;*/
}

.login-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
    gap: 12px;
}
.agat-auth .error-message {
    color: red;
}

.agat-auth .singup-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    color: black;
    font-size: 16px;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    padding: 5px 10px;
    gap: 5px;
}

    .agat-auth .singup-btn p {
        color: black;

    }

    .agat-auth .singup-btn a {
        color: #5881D0;
        cursor: pointer;
    }

input:focus, input:active {
    outline: none; /* Remove the default focus outline */
    box-shadow: inset 0 0 4px #134185;
    border: 3px solid #D1E9FF !important;
    width: 100%;
}

div#forgot-password-link {
    text-align: left;
    padding:0 5px
}

.back-to-login {
    padding: 15px;
}

    div#forgot-password-link a, .back-to-login a, .agat-auth .singup-btn a {
        cursor: pointer;
        color: #337ab7;
        font-weight: 500;
    }

@media (max-width: 780px) {

}

a:active, a:focus, a:hover {
    text-decoration: none !important;
}

@media (max-width: 480px), (max-height: 500px) {

    .final-login.left-panel {
        height: 100vh;
        border-radius: 0;
    }
    .log-in-container {
        border-radius: 0;
    }
    .right-panel {
        display: none;
    }
}
