@font-face {
    font-family: "Noto Sans";
    src: url("../../fonts/noto-sans/noto-sans-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: "Noto Sans", sans-serif !important;
}

/* for Loader start */

#loaderDiv {
    position: fixed;
    background-color: #fff;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
    box-sizing: border-box;
}
.lds-roller {
    display: inline-block;
    position: fixed;
    top: 50%;
    left: 50%;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7.2px;
    height: 7.2px;
    border-radius: 50%;
    background: currentColor;
    margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 62.62742px;
    left: 62.62742px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 67.71281px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 70.90963px;
    left: 48.28221px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 70.90963px;
    left: 31.71779px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 67.71281px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 62.62742px;
    left: 17.37258px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12.28719px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* for Loader end */

#myForm {
    font-family: "Noto Sans", sans-serif;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

/* for toast notification  start */
.myToast {
    box-sizing: border-box;
    font-family: "Calibri", sans-serif;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translate(-50%, -100px);
    border-radius: 12px;
    background: white;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
}

.myToast.active {
    transform: translate(-50%, 0);
    opacity: 1;
}

.myToast .my-toast-content {
    display: flex;
    align-items: center;
}

.my-toast-content .myMessage {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.myMessage .text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.myToast .myClose {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}

.myToast .myClose:hover {
    opacity: 1;
}

.myToast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.myToast .progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #301078;
}

.progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}
/* for toast notification end */

.statusListButton {
    cursor: pointer;
}

/* for OTP */
.otp-box {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 20px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.otp-box:focus {
    border-color: #80bdff;
    outline: 0;
}
/* OTP End */

/* for form according to DBIM */
/* Login form card */
.card.border-light-subtle {
    background-color: #ffffff;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    font-family: "Noto Sans", sans-serif;
}

.card.border-light-subtle .card-body {
    padding: 24px;
}

/* Form heading */
.card.border-light-subtle .card-title {
    color: #230871;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 3px solid #d9eeee !important;
    padding: 12px !important;
    margin-bottom: 24px !important;
}

/* Input fields */
.card.border-light-subtle .form-control {
    min-height: 40px;
    padding: 9px 12px;
    color: #212529;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    box-shadow: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.card.border-light-subtle .form-control::placeholder {
    color: #777777;
    opacity: 1;
}

.card.border-light-subtle .form-control:focus {
    border-color: #00666b;
    box-shadow: 0 0 0 2px rgba(0, 102, 107, 0.12);
    outline: none;
}

/* Validation errors */
.card.border-light-subtle .form-control.is-invalid {
    border-color: #dc3545;
}

.card.border-light-subtle .text-danger {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

/* Horizontal separators */
.card.border-light-subtle hr {
    border: 0;
    border-top: 1px solid #dee2e6;
    margin: 18px 0;
    opacity: 1;
}

/* Forgot password and registration text */
.card.border-light-subtle p {
    margin-bottom: 0;
    color: #343a40;
    font-size: 13px;
    line-height: 1.7;
}

.card.border-light-subtle p a {
    color: #00565b;
    font-weight: 600;
    text-decoration: none;
}

.card.border-light-subtle p a:hover {
    color: #003f43;
    text-decoration: underline;
}

/* Readonly input fields */
.card.border-light-subtle .form-control[readonly] {
    background-color: #f1f3f5;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 1;
}

/* Mobile responsive layout */
@media (max-width: 576px) {
    .card.border-light-subtle {
        max-width: none;
        margin: 16px 12px;
    }

    .card.border-light-subtle .card-body {
        padding: 18px;
    }

    .card.border-light-subtle .dbim-secondary-btn {
        padding: 8px 12px;
    }
}
/* form end */

/* for button according to DBIM */
.dbim-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    background-color: #ffffff;
    color: #00565b;
    border: 1px solid #00666b;
    border-radius: 4px;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 16px;
    cursor: pointer;
    box-shadow: none;
}

.dbim-secondary-btn:hover {
    background-color: #eaf5f5;
    color: #004c50;
}

.dbim-secondary-btn:focus-visible {
    outline: 2px solid #00565b;
    outline-offset: 2px;
}

.dbim-secondary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* button end */

/* ===== Application List Page ===== */

.dbim-application-page {
    background: #ffffff;
    font-family: "Noto Sans", sans-serif !important;
}

/* Purple title bar */
.dbim-application-heading {
    padding: 8px 14px;
    text-align: center;
    background-color: #301078;
    color: #ffffff;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* Table wrapper */
.dbim-application-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
}

/* Main table */
.dbim-application-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse;
    border: none !important;
    color: #190b45;
    background-color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}

/* Lavender header */
.dbim-application-table thead th {
    padding: 10px 14px;
    background-color: #eeeaf8 !important;
    color: #260c72 !important;
    border: none !important;
    border-bottom: 1px solid #d8d3e7 !important;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

/* Table body */
.dbim-application-table tbody td {
    padding: 14px 10px;
    background-color: #ffffff;
    color: #190b45;
    border: none !important;
    border-bottom: 1px solid #d9d9d9 !important;
    vertical-align: top;
}

/* Subtle row hover */
.dbim-application-table tbody tr:hover td {
    background-color: #faf9fd;
}

/* Application number and applicant links */
.dbim-application-table tbody td a:not(.btn) {
    color: #210878;
    text-decoration: none;
    font-weight: 400;
}

.dbim-application-table tbody td a:not(.btn):hover {
    color: #4b2ba3;
    text-decoration: underline;
}

/* Keep data columns on one line where appropriate */
.dbim-application-table .text-nowrap {
    white-space: nowrap !important;
}

/* Action column */
.dbim-application-table thead th:nth-child(3),
.dbim-application-table tbody td:nth-child(3) {
    min-width: 145px;
}

.dbim-application-table tbody td:nth-child(3) a:not(.btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px 5px 2px 0;
    color: #301078;
    vertical-align: middle;
}

.dbim-application-table tbody td:nth-child(3) svg {
    width: 18px;
    height: 18px;
}

/* Action links that are buttons */
.dbim-application-table .btn-outline-info {
    color: #301078;
    background: #ffffff;
    border: 1px solid #301078;
    font-size: 11px;
    font-weight: 600;
}

.dbim-application-table .btn-outline-info:hover {
    color: #ffffff;
    background: #301078;
}

/* Status labels */
/* .dbim-application-table .statusListButton,
.dbim-application-table .proposalStatusListButton {
    display: inline-block;
    max-width: 250px;
    padding: 5px 9px !important;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.4;
    cursor: pointer;
} */

/* Normal status */
/* .dbim-application-table .statusListButton.badge-success,
.dbim-application-table .proposalStatusListButton.badge-success {
    color: #245d36;
    background-color: #e6f4e9;
} */

/* Surrendered status */
/* .dbim-application-table .statusListButton.badge-danger,
.dbim-application-table .proposalStatusListButton.badge-danger {
    color: #9b2029;
    background-color: #fbe8e9;
} */

/* Responsive layout */
@media (max-width: 768px) {
    .dbim-application-page {
        width: calc(100% - 24px);
        margin: 18px auto;
    }

    .dbim-application-heading {
        padding: 10px 12px;
        font-size: 18px;
    }

    .dbim-application-table {
        font-size: 13px;
    }

    .dbim-application-table thead th {
        padding: 10px;
        font-size: 12px;
    }

    .dbim-application-table tbody td {
        padding: 11px 10px;
    }
}

@media (max-width: 480px) {
    .dbim-application-page {
        width: calc(100% - 16px);
        margin: 12px auto;
    }

    .dbim-application-heading {
        font-size: 16px;
    }
}

/* ===== Application List Page End ===== */
