﻿label.is-invalid {
    display: none !important;
}

.custom-header {
    background-color: #3b7ddd;
}
@media screen and (max-width: 576px) {
    .refill-qty {
        font-size: 14px;
    }

    .change-btn {
        padding: 5px 10px;
        font-size: 13px;
    }
}
.slot-box {
    width: 7rem; /* Same as image size */
}

    .slot-box .product-img {
        width: 7rem;
        height: 7rem;
        object-fit: contain;
    }

    .slot-box .change-btn,
    .slot-box .form-select {
        width: 100%;
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
        box-sizing: border-box;
        text-align: center;
    }

.price-label {
    font-size: 0.9rem;
}
div.dataTables_filter {
    display: none;
}
.select2-selection__arrow {
    display: none !important;
}

.select2-container .select2-selection--single {
    height: 32px !important; /* Match with the input field height */
    border: 1px solid #ced4da !important; /* Bootstrap default input border color */
    padding: 5px 10px !important; /* Adjust padding to align with textboxes */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 19px !important;
}
.badge {
    padding: 0.4em 1.2em 0.4em 1.2em !important;
    font-size: 80% !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
}
/* Beautiful Time Sheet Table Design */
.time-sheet-wrapper {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    margin-bottom: 2rem;
}

.time-sheet-header {
    font-size: 15px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
}

.time-sheet-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 5px; /* <-- Add rounded corners */
    overflow: hidden;
}
    .time-sheet-table thead th {
        background-color: #e3edf8 !important; /* Soft sky blue with better contrast */
        color: #2b2b2b;
        font-weight: 600;
        font-size: 13px;
        padding: 0.75rem 1rem;
    }


    .time-sheet-table th,
    .time-sheet-table td {
        padding: 0.75rem 1rem;
        vertical-align: middle;
        background: white;
    }

    .time-sheet-table tbody tr {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        border-radius: 6px;
        overflow: hidden;
    }

        .time-sheet-table tbody tr:nth-child(even) td {
            background-color: #f0f4f8;
        }

        .time-sheet-table tbody tr:hover td {
            background-color: #f0f8ff;
            transition: background-color 0.2s ease;
        }
    .time-sheet-table tbody td {
        border-top: 1px solid #f1f5f9;
    }

.badge-ongoing {
    background-color: #22c55e;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
}

.text-muted-small {
    font-size: 12px;
    color: #6c757d;
}

.summary-footer {
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1.5rem;
}
.hide-for-pdf {
    display: none !important;
}

.sidebar-user {
    margin-top: auto;
    padding: 1rem;
    margin: 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}


.sidebar-user-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.sidebar-user-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 400;
}

.avatar {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

    .avatar:hover {
        border-color: rgba(255, 255, 255, 0.4);
    }

/* Logout icon styles */
.logout-icon a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

    .logout-icon a:hover {
        color: rgba(255, 255, 255, 1) !important;
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }

.logout-icon i {
    font-size: 1.1rem;
}
