﻿
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    background-color: #ffeeee;
}

.validation-summary-errors {
}

    .validation-summary-errors ul, .validation-summary-errors li {
        list-style: none;
        list-style-type: none;
    }


.validation-summary-valid {
    display: none;
}

.alert-success ul, .alert-success li, .alert-danger ul, .alert-danger li, .alert-info ul, .alert-info li, .alert-warning ul, .alert-warning li {
    list-style: none;
    list-style-type: none;
}

.alert {
    position: relative !important;
    padding: .30rem 1.25rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid transparent !important;
    border-radius: 0.1rem !important;
}

body.loading {
    overflow: hidden;
}
    /* Make spinner image visible when body element has the loading class */
    body.loading .overlay {
        display: block;
    }

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #dbe1e6;
    opacity: 0.5;
}

.screenmiddlealign {
    top: 50%;
    left: 50%;
    position: relative;
}

.imgwidth {
    width: 100%;
    height: 100%;
}

.page-header {
    margin-bottom: 15px !important;
}

.dashboard-content {
    padding: 15px 10px 30px 15px !important;
}

.pageheader-title {
    font-size: 30px;
    margin-bottom: 8px !important;
    color: #225892fa !important;
}


.dashboard-wrapper {
    position: relative;
    left: 0;
    margin-left: 00px !important;
    min-height: 870px !important;
}

.custom-btn {
    color: #fff;
    border-radius: 5px;
    /*   padding: 10px 25px;*/
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(34,88,146,.98), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
}


.btn-13 {
    background-color: #225892fa;
    /*background-image: linear-gradient(315deg, #89d8d3 0%, #03c8a8 74%);*/
    /*background-image: linear-gradient( 315deg, #98c73e 0%, #deff9c 74%);*/
    background-image: linear-gradient( 360deg,#225892fa 0%, #225892fa 74%);
    border: none;
    z-index: 1;
}

.d-flex {
    display: -ms-flexbox !important;
    display: grid !important;
}

.btn-13:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 5px;
    /*background-color: #4dccc6;*/
    background-color: #98c73e;
    background-image: linear-gradient(315deg, #236dbdfa 0%, #236dbdfa 74%);
    box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
    transition: all 0.8s ease;
}

.btn-13:hover {
    color: #fff;
}

    .btn-13:hover:after {
        top: 0;
        height: 100%;
    }
/* 13-END */

.btn-13:active {
    top: 2px;
}
/*use for SSO dasboard Start*/
.dashboard-wrapper {
    min-height: 00px !important;
}

.footer {
    position: fixed !important;
}

.noassignmentText {
    font-size: 22px;
    color: #800000;
}

/*.loginImage {
    background-repeat: no-repeat;
    height: 400px;
    background-size: contain;
    width:100% !important;
}*/

.loginImage {
    background-repeat: no-repeat;
    background-size: cover;
    width: auto !important;
    position: unset;
    align-content: center;
    margin: auto;
    display: block;
    width: 100% !important;
    height: 400px;
}

.grid-container {
    display: grid;
    grid-template-columns: 100%;
    box-shadow: 5px 5px 5px 5px #bbb;
}

    .grid-container > div {
    }

.carousel-caption {
    padding-bottom: 0px !important;
    top: 0cm !important;
}

.carousel-indicators {
    top: 8.5cm !important;
    padding-top: 0px;
}

.dispayimage-1000 {
    display: none !important;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.dispayimage-1001 {
    display: block !important;
}

@media only screen and (max-width: 1300px) {
    .carousel-caption {
        right: 10% !important;
        left: 10% !important;
        padding-bottom: 0px !important;
    }
}

@media only screen and (max-width: 1000px) {
    .carousel-caption {
        right: 5% !important;
        left: 5% !important;
    }

    .carousel-indicators {
        top: 9.5cm !important;
        padding-top: 0px;
    }

    .dispayimage-1000 {
        display: block !important;
    }

    .dispayimage-1001 {
        display: none !important;
    }

    .loginImage {
        height: auto !important;
    }
}

@media only screen and (max-width: 889px) {

    .carousel-indicators {
        top: 9.09cm !important;
    }
}

@media only screen and (max-width: 850px) {
    .carousel-caption {
        right: 10% !important;
        left: 10% !important;
        position: fixed !important;
        top: 1cm !important;
    }

    .carousel-indicators {
        position: sticky !important;
        top: 10.07cm !important;
    }
}

@media only screen and (max-width: 767px) {
    .carousel-caption {
        top: 4cm !important;
    }

    .carousel-indicators {
        top: 4cm !important;
    }
}

@media only screen and (max-width: 470px) {
    .carousel-caption {
        right: 5% !important;
        left: 5% !important;
        top: 4cm !important;
    }

    .carousel-indicators {
        top: 3cm !important;
    }
}

@media only screen and (max-width: 1200px) {
    .footer {
        position: absolute !important;
    }
}

@media only screen and (max-width: 380px) {
    .carousel-caption {
        top: 3cm !important;
    }
}


/*use for SSO dasboard End*/

/* ============================================================== */
/* Password Policy Page Styles - Start */
/* ============================================================== */

.password-policy-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 15px;
    background-color: #f5f5f5;
    margin: 0;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.password-policy-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
}

.password-policy-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: visible;
}

.password-policy-card-header {
    background-color: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: 20px;
    text-align: center;
}

.password-policy-card-header img {
    max-width: 135px;
    height: auto;
}

.password-policy-description {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.password-policy-card-body {
    padding: 20px;
    overflow: visible;
}

.password-requirements {
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.password-requirements h5 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #007bff;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.password-requirements li {
    margin-bottom: 8px;
    line-height: 1.5;
    word-wrap: break-word;
}

.password-requirements li i {
    margin-right: 8px;
    width: 16px;
    display: inline-block;
}

.requirement-met {
    color: #28a745;
}

.requirement-not-met {
    color: #dc3545;
}

.password-field-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
    z-index: 10;
}

.toggle-password:hover {
    color: #007bff;
}

/* Mobile Responsive Styles for Password Policy */
@media (max-width: 768px) {
    .password-policy-body {
        padding: 10px;
        align-items: flex-start;
        min-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .password-policy-container {
        margin-top: 10px;
        overflow: visible;
    }

    .password-policy-card {
        margin-bottom: 20px;
        overflow: visible;
    }

    .password-policy-card-header {
        padding: 15px;
        background-color: #fff;
    }

    .password-policy-card-header img {
        max-width: 120px;
    }

    .password-policy-description {
        font-size: 14px;
        margin-top: 8px;
    }

    .password-policy-card-body {
        padding: 15px;
        overflow: visible;
    }

    .password-policy-card-body p {
        font-size: 14px;
    }

    .password-requirements {
        font-size: 12px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .password-requirements h5 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .password-requirements ul {
        padding-left: 15px;
    }

    .password-requirements li {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .password-requirements li i {
        margin-right: 6px;
        width: 14px;
    }

    .password-policy-form-group {
        margin-bottom: 15px;
    }

    .password-policy-input {
        font-size: 16px; /* Keep at 16px to prevent zoom on iOS */
        padding: 10px 12px;
    }

    .password-policy-btn {
        padding: 12px 15px;
        font-size: 15px;
        width: 100%;
        margin-bottom: 8px;
    }

    .toggle-password {
        font-size: 20px;
        padding: 8px;
        right: 8px !important;
    }

    /* Better touch targets */
    input[type="password"],
    input[type="text"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

@media (max-width: 480px) {
    .password-policy-body {
        padding: 8px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .password-policy-container {
        overflow: visible;
    }

    .password-policy-card {
        margin-bottom: 15px;
    }

    .password-policy-card-header {
        padding: 12px;
    }

    .password-policy-card-header img {
        max-width: 100px;
    }

    .password-policy-description {
        font-size: 13px;
    }

    .password-policy-card-body {
        padding: 12px;
    }

    .password-requirements {
        font-size: 11px;
        padding: 10px;
    }

    .password-requirements h5 {
        font-size: 13px;
    }

    .password-requirements li {
        font-size: 11px;
    }

    .password-requirements li strong {
        display: inline;
    }
}

/* Landscape mobile for Password Policy */
@media (max-height: 600px) and (orientation: landscape) {
    .password-policy-body {
        align-items: flex-start;
        padding: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .password-policy-container {
        margin: 10px auto;
        overflow: visible;
    }

    .password-policy-card {
        overflow: visible;
    }

    .password-policy-card-header,
    .password-policy-card-body {
        padding: 10px;
    }

    .password-requirements {
        margin-bottom: 10px;
        padding: 10px;
    }

    .password-policy-form-group {
        margin-bottom: 10px;
    }

    .password-policy-btn {
        padding: 10px 15px;
    }
}

/* Scrollbar styling - only for body element */
.password-policy-body::-webkit-scrollbar {
    width: 8px;
}

.password-policy-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.password-policy-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.password-policy-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Password Policy Page Styles - End */
/* ============================================================== */

/* ============================================================== */
/* Update Password Page - Reuse Password Policy Styles */
/* ============================================================== */

/* Use the same classes for Update Password page for consistency */
.update-password-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 15px;
    background-color: #f5f5f5;
    margin: 0;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.update-password-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
}

/* Update Password Page - End */
/* ============================================================== */


/*use for SSO dasboard End*/
