/* Modal styles for mobile */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }
    .modal-content {
        border-radius: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .modal-header {
        border-radius: 0;
    }
    .modal-body {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 80px; /* Space for fixed footer */
    }
    .modal-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #dee2e6;
        padding: 1rem;
        z-index: 1050;
    }
} 


.fc-event {
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 4px;
}
.fc-event-title {
    font-weight: normal;
}
.fc-daygrid-event-dot {
    border-width: 4px;
}
.fc-daygrid-day-number {
    font-size: 0.9rem;
}
.fc-col-header-cell {
    font-size: 0.9rem;
}
.task-list {
    max-height: 600px;
    overflow-y: auto;
}
.fc .fc-toolbar-title {
    font-size: 0.75rem;
}
.fc .btn {
    font-size: 0.75rem;
}
.fc .btn {
    padding: 4px 6px !important;
}
.task-item {
    border-left: 4px solid transparent;
    transition: background-color 0.2s;
}
.task-item:hover {
    background-color: #f8f9fa;
}
.task-item.completed {
    border-left-color: #198754;
}
.task-item.pending {
    border-left-color: #ffc107;
}
.task-item.cancelled {
    border-left-color: #dc3545;
}
.task-time {
    width: 100px;
    flex-shrink: 0;
}
.task-cleaner {
    width: 150px;
    flex-shrink: 0;
}
.task-status {
    width: 100px;
    flex-shrink: 0;
}
/* Bootstrap theme overrides */
.fc .fc-button-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.fc .fc-button-primary:hover {
    background-color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
}
.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: var(--bs-primary-active);
    border-color: var(--bs-primary-active);
}
.fc .fc-button-primary:disabled {
    background-color: var(--bs-primary-disabled);
    border-color: var(--bs-primary-disabled);
}
.fc .fc-button-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}


.dashboard-card {
    transition: transform 0.2s ease;
    cursor: pointer;
    height: 100%;
}
.dashboard-card:hover {
    transform: translateY(-5px);
}
.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}
.quick-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}


.week-days {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.day-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background-color: #e9ecef;
    color: #6c757d;
}
.day-circle.active {
    background-color: #0d6efd;
    color: white;
}
.initials-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.day-circle.workday {
    background-color: #0d6efd;
    color: white;
}
.day-checkbox {
    display: none;
}
.day-checkbox + .day-circle {
    cursor: pointer;
}
.day-checkbox:checked + .day-circle {
    background-color: #0d6efd;
    color: white;
}
.day-checkbox:disabled + .day-circle {
    cursor: default;
}

.notes-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notes-expanded {
    display: block;
}
.icon-option {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0.5rem;
}
.icon-option:hover {
    background-color: #f8f9fa;
}
.icon-option.selected {
    border-color: #0d6efd;
    background-color: #e9ecef;
}
.options-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}
.options-button:hover {
    background-color: rgba(233, 236, 239, 0.9);
}
