/* frontend/styles.css */
:root {
    --fc-border-color: #e2e8f0;
    --fc-button-text-color: #334155;
    --fc-button-bg-color: #f1f5f9;
    --fc-button-border-color: #cbd5e1;
    --fc-button-hover-bg-color: #e2e8f0;
    --fc-button-hover-border-color: #94a3b8;
    --fc-button-active-bg-color: #3b82f6;
    --fc-button-active-border-color: #2563eb;
    --fc-today-bg-color: rgba(59, 130, 246, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
}

/* Стилизация FullCalendar */
.fc .fc-toolbar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: capitalize;
}

.fc .fc-button {
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    padding: 0.4rem 0.75rem;
    transition: all 0.15s ease-in-out;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    color: #ffffff;
    background-color: #2563eb;
    border-color: #1d4ed8;
}

.fc-event {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.fc-event-completed {
    opacity: 0.7;
    text-decoration: line-through;
}

/* Цвета для бейджей типов и статусов */
.badge-ppr { background-color: #2563eb; color: white; }
.badge-emergency { background-color: #dc2626; color: white; }
.badge-inspection { background-color: #059669; color: white; }
.badge-unplanned { background-color: #d97706; color: white; }
.badge-shift { background-color: #7c3aed; color: white; }

/* Анимация модальных окон */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}

