body,
button,
input,
select,
textarea,
.app-sidebar__user-name,
.app-menu__label,
.app-title h1,
.tile .tile-title,
.btn,
.swal2-popup {
    font-family: "Quicksand", sans-serif !important;
}

.app-header__logo {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-sidebar__user-avatar--fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0ff;
    color: #001524;
    font-weight: 700;
    margin-right: 10px;
}

.app-menu__item.active,
.app-menu__item:hover,
.app-menu__item:focus {
    background: rgba(255, 255, 255, 0.12);
}

.widget-small .info h4 {
    font-weight: 700;
}

.widget-small .info p {
    font-size: 1.4rem;
    font-weight: 700;
}

.tile .tile-title {
    font-weight: 700;
}

.table td,
.table th {
    vertical-align: middle !important;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-shell {
    position: fixed;
    inset: 0;
    background: rgba(0, 21, 36, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    padding: 24px;
}

.modal-shell.is-open {
    display: flex;
}

.modal-card {
    width: min(100%, 720px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    padding: 24px;
    position: relative;
}

.modal-card.modal-card--lg {
    width: min(100%, 920px);
}

#serviceModal .modal-card {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#serviceModal .modal-card::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.modal-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-card__head h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-card__head p {
    margin: 0;
    color: #6c757d;
}

.icon-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f7;
    color: #001524;
}

.form-feedback {
    display: none;
    margin-bottom: 16px;
}

.form-feedback.is-visible {
    display: block;
}

.login-content .logo h1 {
    font-family: "Quicksand", sans-serif !important;
    font-weight: 700;
}

.login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.login-brand__mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #001524;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.login-content .login-box .login-head {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.metric-note {
    color: #6c757d;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .app-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-actions,
    .table-actions {
        width: 100%;
    }

    .page-actions .btn,
    .table-actions .btn {
        width: 100%;
    }

    .modal-shell {
        align-items: flex-end;
        padding: 10px;
    }

    .modal-card,
    .modal-card.modal-card--lg {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 10px 10px;
        padding: 18px;
    }

    .modal-card__head {
        padding-right: 50px;
        position: relative;
    }

    .modal-card__head .icon-button {
        position: absolute;
        right: 0;
        top: 0;
    }
}
