/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    /* No specific changes needed */
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .dashboard-card .card-icon {
        font-size: 2.5rem;
    }

    .dashboard-card .card-value {
        font-size: 1.8rem;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
    }

    .vertical-section-name {
        font-size: 0.9rem;
    }

    .calendar-day {
        height: 100px;
    }

    .date-selector .btn {
        font-size: 0.9rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .table-responsive {
        overflow-x: auto;
    }

    .dashboard-card {
        margin-bottom: 20px;
    }

    .checklist-item-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .checklist-item-controls .form-check {
        margin-bottom: 10px;
    }

    .calendar-day {
        height: 80px;
        font-size: 0.9rem;
    }

    .calendar-event {
        font-size: 0.75rem;
        padding: 3px 5px;
    }

    .navbar-nav {
        margin-top: 10px;
    }

    .vertical-section-name {
        font-size: 0.8rem;
    }

    .date-selector {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .date-selector .dropdown {
        margin-bottom: 5px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .login-form {
        padding: 20px;
    }

    .dashboard-card .card-icon {
        font-size: 2rem;
    }

    .dashboard-card .card-value {
        font-size: 1.5rem;
    }

    .table-actions .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .calendar-day {
        height: 60px;
        padding: 2px;
    }

    .calendar-day-header {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .calendar-event {
        font-size: 0.65rem;
        padding: 2px 4px;
        margin-bottom: 2px;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .vertical-section-name {
        font-size: 0.7rem;
        height: 95%;
    }

    .section-name-header {
        width: 15% !important;
    }

    .checklist-section .table th,
    .checklist-section .table td {
        padding: 0.5rem;
    }

    .form-check-inline {
        margin-right: 5px;
    }

    .form-check-label {
        font-size: 0.8rem;
    }
}
