:root {
    --primary: #85b6ee;
    --primary-hover: #3f8bb8;
    --bg-color: #f3f4f6;
    --text-color: #1f2937;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

.fc-event {
    cursor: pointer;
    background-color: var(--primary);
    border: none;
}

.hidden { display: none !important; }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 300px; 
    max-width: 90%; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary { background: #e5e7eb; color: #374151; }
.btn-secondary:hover { background: #d1d5db; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9em;
    color: #4b5563;
}

.time-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.time-inputs div {
    flex: 1;
}

input[type="time"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box; 
}

@media (max-width: 600px) {
    body {
        padding: 10px; 
    }

    .container {
        padding: 15px; 
    }

    .modal-content {
        padding: 15px;
        width: 95%;
        margin: 0 10px;
    }

    .time-inputs {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-buttons {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .modal-buttons button {
        flex: 1 1 45%;
        padding: 10px 12px;
    }

    @media (max-width: 350px) {
        .modal-buttons button {
            flex: 1 1 100%; 
        }
    }
}