@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f2f7;
    font-size: 14px !important;
}

main>.container {
    padding: 80px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.fw-600 {
    font-weight: 600;
}

.grid-view table thead tr th,
.grid-view table thead tr th a {
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.grid-view table thead tr th,
.grid-view table tbody tr td {
    vertical-align: middle;
}

th a {
    color: #444;
    text-decoration: none !important;
}

th a:hover {
    color: #444;
    text-decoration: none !important;
}

td .form-control {
    font-size: 14px;
}

.table {
    --bs-table-striped-bg: #f8fafc;
}

.brand-image {
    height: 25px;
}

/* navbar link color */
.navbar-nav .show>.nav-link,
.navbar-nav .nav-link.active {
    color: #ffc107;
}

.rounded-left {
    border-top-left-radius: .50rem !important;
    border-bottom-left-radius: .50rem !important;
}

.rounded-top-start {
    border-top-left-radius: .50rem !important;
}

.rounded-top-end {
    border-top-right-radius: .50rem !important;
}

.rounded-right {
    border-top-right-radius: .50rem !important;
    border-bottom-right-radius: .50rem !important;
}

.logo-login-top {
    max-height: 35px;
}

.w-35 {
    width: 35%;
}

.w-65 {
    width: 65%;
}

.sm-rounded {
    border-radius: .25rem;
}

.bg-image {
    background-position-x: 20%;
    background-position-y: 90%;
    overflow: clip;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-size: 50%;
    background-image: url('/img/overlay_login.png');
}

.brand-image {
    height: 25px;
}

.text-xs {
    font-size: .75rem;
}

.text-606 {
    color: #606060 !important;
}

.border-top-dashed {
    border-top: 1px dashed #e9ecef !important;
}

.border-bottom-dashed {
    border-bottom: 1px dashed #e9ecef !important;
}

.grayscale-img {
    filter: grayscale(100%);
}

.profile-image-preview {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.profile-image-preview-modal {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.form-control[readonly] {
    background-color: #f0f0f0;
}

.app-image {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.app-image-menu {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.invalid-feedback-upload {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.clear-icon-input {
    position: absolute;
    right: 40px;
    top: 5px;
    height: 12px;
    color: #c8c8c8;
    cursor: pointer;
    z-index: 10;
    /* to be on top of the input */
}

.form-control:focus {
    box-shadow: none !important;
}

.menu-tooltip {
    font-size: 12px;
    cursor: pointer;
}

.custom-tooltip {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    text-align: center;
}

.otp-group-valid .otp-input {
    border: 1px solid #28a745;
}

.otp-group-invalid .otp-input {
    border: 1px solid #dc3545;
}


@media (max-width: 768px) {
    .bg-image {
        background-position: left bottom;
        background-image: url('/img/overlay_login.png');
        background-size: 30%;
        background-repeat: no-repeat;
        background-position-x: 90%;
        background-position-y: 80%;
    }

    .w-65 {
        width: 100%;
    }
}