/* MedTrack Custom Styles */

/* Smooth transitions */
.btn, .card, .form-control {
    transition: all 0.2s ease-in-out;
}

/* Card hover effect */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Schedule row styling */
.schedule-row {
    background-color: #f8f9fa;
    transition: background-color 0.2s;
}

.schedule-row:hover {
    background-color: #e9ecef;
}

/* Day button group */
.btn-group .btn-outline-primary {
    flex: 1;
    min-width: 36px;
    padding: 0.25rem 0.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Table improvements */
.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Alert animations */
.alert {
    animation: slideIn 0.3s ease-out;
}

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

/* Progress bar animation */
.progress-bar {
    transition: width 0.6s ease;
}

/* Navbar brand */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Form focus states */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-group .btn-outline-primary {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Print styles */
@media print {
    .navbar, .btn, footer {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}