﻿/*WorkerDashboard*/
.modal-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.dashboard-card {
    height: 150px;
    align-content: center;
    padding: 1.25rem;
}

    .dashboard-card h3 {
        color: var(--tblr-heading-color);
    }

.quick-action-card {
    min-height: 400px;
}

.task-panel {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 400px;
}

    .task-panel .card-header-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1.25rem;
        text-decoration: none;
        color: inherit;
        font-weight: 600;
        cursor: pointer;
    }

.subtask-card {
    margin-bottom: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease-in-out;
}

    .subtask-card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .subtask-card .card-body {
        padding: 1rem !important;
    }

.time-range-pill-group {
    display: flex;
    border-radius: 50px;
    background-color: #f1f3f5;
    padding: 4px;
    gap: 8px;
    width: fit-content;
}

.time-range-input {
    display: none;
}

.time-range-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    min-width: 12px;
    border-radius: 50px;
    color: #495057;
    font-weight: 500;
    text-transform: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.time-range-input:checked + .time-range-label {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 255, 255, 0.8);
    color: var(--rz-text-title-color);
    font-weight: bold;
}

.btn-view-details-custom {
    background-color: #f1f3f5;
    color: #495057;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    width: 25%;
    text-align: center;
    justify-content: center;
    padding: 4px;
}

    .btn-view-details-custom:hover {
        background-color: #e9ecef;
    }
/*End WorkerDashboard*/

[data-bs-theme="dark"] {
    /*Worker Dashbaord*/
    .time-range-pill-group {
        background-color: #343a40;
    }

    .time-range-label {
        color: #aaaaaa;
    }

    .time-range-input:checked + .time-range-label {
        background-color: #4a4a4a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 8px rgba(100, 100, 100, 0.5);
        color: #ffffff;
    }

    .btn-view-details-custom {
        background-color: #343a40;
        color: #f8f9fa;
    }

        .btn-view-details-custom:hover {
            background-color: #495057;
        }

    /*End Worker Dashboard*/
}