﻿
/* Highlight current activity in the tree */
.current-structure-node {
    font-weight: bold !important;
    color: #28a745 !important;
}

    .current-structure-node .jstree-anchor {
        background-color: #d4edda !important;
        border: 2px solid #28a745 !important;
        border-radius: 4px !important;
    }


    /* Weekly Availability Styles */
    .weekend-label {
        color: #1976d2 !important;
        font-weight: bold;
    }
    
    /* Day Type Border Styling */
    .weekend-input {
        background-color: #ffffff !important;
        border: 1px solid #000000 !important; /* Black for weekends */
    }
    
    .working-input {
        background-color: #ffffff !important;
        border: 1px solid #007bff !important; /* Blue for weekdays */
    }
    
    .holiday-input {
        background-color: #ffffff !important;
        border: 1px solid #f44336 !important;
    }
    
    .weekend-holiday-input {
        background-color: #ffffff !important;
        border: 1px solid #f44336 !important; /* Holiday takes precedence */
    }
    
    /* Working Hours Text Styling */
    .zero-hours {
        color: #dc3545 !important; /* Red for 0 hours */
    }
    
    .working-hours {
        color: #155724 !important; /* Dark green for working hours */
        font-weight: bold !important;
    }
    
    /* Focus States */
    .weekend-input:focus,
    .working-input:focus,
    .holiday-input:focus,
    .weekend-holiday-input:focus {
        background-color: #f8f9fa !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    }
    
    .day-header {
        text-align: center;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.9em;
    }
    
    .working-day-header {
        color: #007bff !important; /* Blue for weekdays */
        font-weight: bold !important;
    }
    
    .weekend-day-header {
        color: #000000 !important; /* Black for weekends */
        font-weight: bold !important;
    }
    
    .holiday-day-header {
        color: #d32f2f !important;
        font-weight: bold !important;
    }
    
    .day-column {
        min-width: 120px;
    }
    
    .day-input {
        width: 100%;
        text-align: center;
    }
    
    .notes-section {
        margin-top: 20px;
    }
    
    /* Legend Label Styles */
    .legend-weekend {
        background-color: #000000 !important;
        color: #ffffff !important;
        border: 1px solid #000000 !important;
    }
    
    .legend-holiday {
        background-color: #fd7e14 !important;
        color: #ffffff !important;
        border: 1px solid #fd7e14 !important;
    }
    
    .legend-working {
        background-color: #007bff !important;
        color: #ffffff !important;
        border: 1px solid #007bff !important;
    }
    
    .legend-working-hours {
        background-color: #d4edda !important;
        color: #155724 !important;
        border: 1px solid #c3e6cb !important;
    }
    
    .legend-zero-hours {
        background-color: #6c757d !important;
        color: #ffffff !important;
        border: 1px solid #495057 !important;
    }
    