/* Основные элементы (большая часть перенесена в Tailwind-утилиты в HTML) */
/* Скрытое поле для ботов (honeypot) */
.forbots {
display: none !important;
}
/* Стили для печати */
@media print {
.no-print,
nav,
footer,
button {
display: none !important;
}
body {
    background-color: white !important;
}

.calendar-table td.work-day {
    background-color: #d4edda !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.main-container {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
}
/* Специфичные классы легенды и календарей, которые могут генерироваться динамически из PHP/JS
Оставляем их, чтобы не сломать логику на других страницах сайта */
.work-day { background-color: #d4edda; }
.night-shift { background-color: #cce5ff; }
.evening-shift { background-color: #fff3cd; }
.empty { background-color: #f8f9fa; }
.legend-workday {
display: inline-block;
width: 20px;
height: 20px;
background: #d4edda;
border: 1px solid #c3e6cb;
border-radius: 4px;
}
.legend-holiday {
display: inline-block;
width: 20px;
height: 20px;
background: #f8d7da;
border: 1px solid #f5c6cb;
border-radius: 4px;
}
.legend-mix {
display: inline-block;
width: 20px;
height: 20px;
background: #d1c4e9;
border: 1px solid #ccc;
border-radius: 4px;
}
.legend-today {
display: inline-block;
width: 20px;
height: 20px;
background: #fff3cd;
border: 1px solid #ffeeba;
border-radius: 4px;
}
/* Модальное окно QR (оставлено для совместимости с другими страницами) */
.qr-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(15, 23, 42, 0.75); /* Tailwind slate-900 с прозрачностью */
align-items: center;
justify-content: center;
z-index: 1050;
}
.qr-modal.show { display: flex; }
.qr-modal-content {
background: white;
padding: 24px;
border-radius: 8px;
max-width: 400px;
text-align: center;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
#copy-toast {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: #1e293b; /* Tailwind slate-800 */
color: white;
padding: 8px 16px;
border-radius: 30px;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
z-index: 9999;
}
#copy-toast.show { opacity: 1; }

/* ===== Выпадающее меню пользователя (перенесено из diz.php) ===== */
.user-dropdown {
position: relative;
display: inline-block;
}
.user-dropdown-menu {
position: absolute;
top: 100%;
right: 0;
margin-top: 8px;
min-width: 280px;
background: white;
border-radius: 12px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
border: 1px solid #e2e8f0;
padding: 16px;
z-index: 1000;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.2s ease;
}
.user-dropdown-menu.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.user-dropdown-menu::before {
content: '';
position: absolute;
top: -6px;
right: 20px;
width: 12px;
height: 12px;
background: white;
border-left: 1px solid #e2e8f0;
border-top: 1px solid #e2e8f0;
transform: rotate(45deg);
}
.user-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: linear-gradient(135deg, #3b82f6, #1e40af);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.user-avatar:hover {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.dropdown-item {
padding: 10px 12px;
border-radius: 8px;
transition: background 0.15s;
}
.dropdown-item:hover {
background: #f8fafc;
}
.dropdown-divider {
height: 1px;
background: #e2e8f0;
margin: 12px 0;
}
.logout-btn {
color: #ef4444;
font-weight: 500;
}
.logout-btn:hover {
background: #fef2f2;
}
.status-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 20px;
font-size: 12px;
font-weight: 500;
}
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-expired { background: #fee2e2; color: #b91c1c; }