body {
    background: #f4f7fb;
    min-height: 100vh;
}

.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #0d6efd, #0b5ed7);
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    border-radius: 0.75rem;
    margin-bottom: 0.35rem;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.stat-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
}

.content-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
}

.table-responsive {
    border-radius: 1rem;
}

.table-scroll {
    overflow: auto;
}

.table-scroll-md {
    max-height: 360px;
}

.table-scroll-lg {
    max-height: 480px;
}

.table-scroll-xl {
    max-height: 620px;
}

.pagination .page-link {
    border-radius: 0.5rem;
}

.login-wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3ff 0%, #f7f9fc 55%, #e9efff 100%);
}

.login-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.login-bg::before,
.login-bg::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.login-bg::before {
    width: 380px;
    height: 380px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.22), rgba(13, 110, 253, 0));
}

.login-bg::after {
    width: 320px;
    height: 320px;
    bottom: -130px;
    left: -90px;
    background: radial-gradient(circle, rgba(111, 66, 193, 0.18), rgba(111, 66, 193, 0));
}

.login-card {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(8px);
}

.login-brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #0d6efd 0%, #3d8bff 100%);
    box-shadow: 0 0.6rem 1.4rem rgba(13, 110, 253, 0.35);
}

.login-input-group .input-group-text {
    background: #f5f8ff;
    border-right: 0;
    color: #5c6b8a;
}

.login-input-group .form-control {
    border-left: 0;
    background: #f5f8ff;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

.login-input-group .form-control:focus,
.login-input-group .input-group-text {
    box-shadow: none;
}

.login-input-group:focus-within .input-group-text,
.login-input-group:focus-within .form-control {
    border-color: #86b7fe;
    background: #fff;
}

.login-input-group .form-control {
    border-right: 0;
}

.login-input-group .form-control {
    border-right: 0;
}

.login-input-group .password-toggle {
    border-left: 1px solid #ced4da;
    background: #f5f8ff;
    color: #5c6b8a;
    min-width: 3rem;
    padding: 0.55rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.login-input-group .password-toggle:hover,
.login-input-group .password-toggle:focus {
    background: #e9efff;
}

.login-input-group .password-toggle i {
    width: 1rem;
    display: inline-block;
    text-align: center;
}

.login-submit-btn {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    border-radius: 0.7rem;
    font-weight: 600;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.35rem;
    padding: 0.43rem 0.5rem;
    line-height: 1;
    box-sizing: border-box;
    border-radius: 0.25rem;
    vertical-align: middle;
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

.btn-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    line-height: 1;
}

.btn-icon:hover,
.btn-icon:focus {
    background-color: #222;
    border-color: #222;
    color: #fff;
}

.sync-progress-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.22);
    padding: 1rem;
}

.sync-progress-card {
    width: min(100%, 520px);
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 2.5rem rgba(15, 23, 42, 0.18);
    padding: 1.25rem 1.35rem;
}

.sync-progress-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0d6efd;
}

.sync-progress-message {
    margin-bottom: 0.75rem;
    color: #495057;
}

.sync-progress-bar {
    height: 0.85rem;
    border-radius: 0.75rem;
    background: #e9ecef;
    overflow: hidden;
}

.sync-progress-fill {
    width: 0%;
    height: 100%;
    background: #0d6efd;
    transition: width 0.2s ease;
}

.sync-progress-value {
    margin-top: 0.5rem;
    color: #495057;
    font-weight: 600;
    text-align: center;
}
