/* ADVANCED GUI IMPROVEMENTS */

/* Background blur and transparency effects */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    min-height: 100vh;
}

/* Main container with glassmorphism */
.container {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Cards and panels with glassmorphism */
.card, .modal-content, .section-card {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Buttons with glassmorphism */
.btn {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #333 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Schedule grid with glassmorphism */
.schedule-grid {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.schedule-cell {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    transition: all 0.3s ease !important;
}

.schedule-cell:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.02) !important;
}

/* Employee name cells */
.employee-cell {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* Header with glassmorphism */
.header, .top-bar {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Modal improvements */
.modal {
    backdrop-filter: blur(10px) !important;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
}

/* Input fields with glassmorphism */
input, select, textarea {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    color: #333 !important;
    font-weight: 500 !important;
}

input:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3) !important;
}

/* Text improvements */
h1, h2, h3, h4, h5, h6 {
    color: #333 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5) !important;
}

/* Stats cards */
.stats-card {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.stats-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Vacation status indicators */
.vacation-status {
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Loading animations */
@keyframes glass-shine {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.loading {
    animation: glass-shine 2s infinite;
}

/* Enhanced vacation modal */
.vacation-modal {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced schedule viewer */
.schedule-viewer {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(25px) !important;
    border-radius: 20px !important;
}

/* Language text fix */
.lang-fix {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 500 !important;
}

/* Polish characters support */
.polish-text {
    font-family: 'Segoe UI', 'Arial Unicode MS', sans-serif !important;
    font-feature-settings: "kern" 1, "liga" 1 !important;
}

/* Remove question marks from display */
.no-question-marks {
    font-family: 'Segoe UI', 'Segoe UI Symbol', 'Arial Unicode MS' !important;
    unicode-bidi: isolate !important;
}
