html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
   
    font-family: "Cairo", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "slnt";
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.page-bg {
    background-image: url('/images/bg.png');
    background-size: cover; /* Fill screen */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh; /* Full height */
}

.report-total-box {
    border: 1px solid #dee2e6;
    border-right: 4px solid #0d6efd;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.report-total-box span {
    color: #64748b;
    font-size: 13px;
}

.report-total-box strong {
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
}

.dt-buttons .dt-button {
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    padding: 6px 12px !important;
    margin-left: 6px !important;
}

.home-dashboard {
    min-height: calc(100vh - 135px);
    padding: 46px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.45)),
        url('/images/bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.home-hero {
    max-width: 720px;
    padding-top: 32px;
}

.home-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
}

.home-hero p {
    font-size: 18px;
    color: #e2e8f0;
    margin: 0;
}

.home-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    max-width: 920px;
    margin-top: 42px;
}

.home-quick-card {
    min-height: 118px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.home-quick-card:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.home-quick-card i {
    font-size: 30px;
}

.home-quick-card span {
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .home-dashboard {
        padding: 26px;
    }

    .home-hero h1 {
        font-size: 30px;
    }
}
