body {
    font-family: 'Playfair Display', serif;
    background-color: #f4f1ea;
    color: #3e4b3f;
}

.navbar {
    background-color: #4a5d4e;
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff !important;
}

.btn-primary {
    background-color: #4a5d4e;
    border-color: #4a5d4e;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #3d4d40;
    border-color: #3d4d40;
    transform: translateY(-1px);
}

.btn-outline-light:hover {
    color: #4a5d4e !important;
}

#calendar {
    background: white;
    padding: 15px;
    border-radius: 0;
}

.card {
    border-radius: 12px;
    overflow: hidden;
}

.fc-toolbar-title {
    font-size: 1.25rem !important;
    text-transform: capitalize;
}

.fc-button-primary {
    background-color: #4a5d4e !important;
    border-color: #4a5d4e !important;
}

.fc-button-primary:hover {
    background-color: #3d4d40 !important;
    border-color: #3d4d40 !important;
}

.fc-event {
    cursor: pointer;
    border: none !important;
    border-radius: 4px !important;
    padding: 2px 4px !important;
}

.fc-highlight {
    background: rgba(74, 93, 78, 0.2) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #4a5d4e;
    font-weight: 700;
}

.nav-pills .nav-link.active {
    background-color: #4a5d4e;
}

.nav-pills .nav-link {
    color: #4a5d4e;
}

.table thead th {
    background-color: #f8f9fa;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.form-control:focus {
    border-color: #4a5d4e;
    box-shadow: 0 0 0 0.25rem rgba(74, 93, 78, 0.25);
}

.status-pending { color: #ffc107; }
.status-approved { color: #28a745; }

.card-pending {
    border-left: 4px solid #ffc107;
    transition: transform 0.2s;
}

.card-pending:hover {
    transform: scale(1.02);
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .navbar-brand img {
        max-height: 40px;
    }
    
    .fc-toolbar {
        flex-direction: column;
        gap: 5px;
    }
    
    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .fc-toolbar-title {
        font-size: 1rem !important;
        text-align: center;
    }

    .fc-button {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.85rem !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card-body {
        padding: 1.25rem !important;
    }

    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.1rem; }

    /* Stack tables on mobile if they are too wide */
    .table-responsive {
        border: 0;
    }
    
    #calendar {
        padding: 10px;
    }
}

@media (min-width: 992px) {
    .sticky-lg-top-custom {
        position: sticky;
        top: 90px;
    }
}
