/* Global Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Header Styling */
header {
    background-color: #1e1e1e;
    padding: 10px 0;
    text-align: center;
    border-bottom: 2px solid #0078D7;
}

header img {
    max-width: 180px;
    height: auto;
}

/* Navigation Styling */
#navigation {
    background-color: #232323;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

#navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#navigation li {
    margin: 0 10px;
}

#navigation a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s, color 0.3s;
    border-radius: 4px;
}

#navigation a:hover {
    background-color: #0078D7;
}

/* Force Calendar to Default Light Theme */
#calendar,
#calendar * {
    color: inherit !important;
}
#request_dates {
    font-size: 16px !important;
}
.fc-theme-standard,
.fc-theme-standard td,
.fc-theme-standard th {
    background-color: #000000 !important;
    color: #000000 !important;
    border-color: #ddd !important;
}

.fc-theme-standard .fc-toolbar-title {
    color: #000000 !important;
}

.fc-day-today {
    background-color: rgba(255, 220, 40, 0.2) !important;
}

.fc-button {
    background-color: #007bff !important;
    color: #ffffff !important;
}

.fc-button:hover {
    background-color: #0056b3 !important;
}

.fc-event,
.fc-event-main {
    background-color: #3788d8 !important;
    color: #ffffff !important;
    border-color: #3788d8 !important;
}

.fc-event:hover {
    background-color: #2c6fb8 !important;
}

/* Form Styling */
#requestForm {
    background-color: #1e1e1e;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#requestForm label {
    color: #bbb;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

#requestForm input, 
#requestForm textarea {
    background-color: #2a2a2a;
    border: 1px solid #333;
    color: #ffffff;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
}

#requestForm input:focus, 
#requestForm textarea:focus {
    outline: none;
    border-color: #0078D7;
}

#requestForm button {
    background-color: #0078D7;
    color: #ffffff;
    padding: 12px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}

#requestForm button:hover {
    background-color: #005ea6;
}

/* Success Message Styling */
#message {
    text-align: center;
    font-size: 1em;
    padding: 10px;
    margin-top: 10px;
}

/* Date Picker Overrides */
.daterangepicker {
    background-color: #1e1e1e !important;
    color: #000000 !important;
    border-color: #333 !important;
}

.daterangepicker td.available:hover {
    background-color: #0078D7 !important;
    color: #fff !important;
}

.daterangepicker td.in-range {
    background-color: #005ea6 !important;
    color: #fff !important;
}

.daterangepicker .drp-buttons .btn {
    background-color: #0078D7 !important;
    color: #ffffff !important;
    border: none !important;
    transition: background 0.3s;
}

.daterangepicker .drp-buttons .btn:hover {
    background-color: #005ea6 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #navigation ul {
        flex-direction: column;
        align-items: center;
    }

    #navigation li {
        margin: 5px 0;
    }

    header img {
        width: 140px;
    }

    #calendar, #requestForm {
        padding: 10px;
        margin: 10px;
    }
}
