
body {
    background-color: #121212;
    font-family: "Lexend", sans-serif;
}

label {
    color: white;
}

.w-30 { width: 32%; }

small {
    font-size: 12px;
}

.navbar-brand img {
    width: 200px;
}

.card {
    background-color: rgb(24, 24, 24);
    border-color: color(srgb 0.2507 0.2507 0.2507);
    box-shadow: none;
}

.card .card-header {
    background-color: rgb(35, 35, 35);
    color: white;
}

#range_picker button {
    height: 80px;
    width: 100px;
    font-weight: 600;
    font-size: 20px;
}
#range_picker button:last-child { font-size: 18px; }
#range_picker button > i { pointer-events: none; }

#month_picker .months {
    width: 75px;
    font-weight: 600;
}

@scope (#dar_preview)
{
    .outer_cont { border: 1px solid color(srgb 0.2507 0.2507 0.2507); }

    .card {
        background-image: url("/static/images/striped.png");
        border: 25px solid rgb(27, 26, 26);
    }

    #inner_paper {
        background-color: white;
        box-shadow: 0 0 40px 7px #000000;
        border: 1px solid #222222;
    }

    .header { background-color: #121212; padding: 18px 30px; }
    .header img { width: 25%; object-fit: contain; }
    .header span {
        color: white;
        font-size: 12px;
        text-align: right;
    }

    #employee_details_container { font-size: 14px; padding: 25px 30px; }
    #employee_details_container span.label{
        color: black;
        font-weight: 600;
    }

    #table_container { font-size: 12px; }
    #table_container .dar_title th { font-size: 17px; background: #121212 }
    #table_container thead { text-align: center; }
    #dar_range_title { font-size: 14px; }

    #footer {
        font-size: 11px;
        font-weight: 500;
        background-color: #121212;
        color: white;
        text-align: center;
        padding: 20px;
    }
}


.skeleton-loader {
    gap: 0.4rem;
    padding: 0.7rem;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background-color: white;
}

.skeleton-text {
    height: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}


.skeleton-text {
    background: #e8e8e8;
    background: linear-gradient(
        100deg,
        #e8e8e8,
        #e8e8e8 50%,
        #fbf8f8 60%, /* Lighter color for the shimmer itself */
        #e8e8e8 70%
    );
    background-size: 200% 100%;
}

.skeleton-loader.shimmer .skeleton-text {
    animation: shimmer 1.5s linear infinite;
}

/* Keyframes for the shimmer animation */
@keyframes shimmer {
  0% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: -100%;
  }
}