/* Google Fonts Import handled in main file for performance, or can be here */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
}

/* Minimalist Card */
.glass-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.minimal-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.minimal-btn:active {
    transform: scale(0.98);
}

/* Clean Input Fields */
.clean-input {
    transition: all 0.2s ease;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.clean-input:hover {
    background-color: #f1f5f9;
}

.clean-input:focus {
    outline: none;
    background-color: white;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modal Animation */
#patientModal {
    transition: opacity 0.2s ease-in-out;
}
#modalContent {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Filter Drawer Animation */
#filterDrawer {
    transition: visibility 0.3s linear;
}
#filterDrawerBackdrop {
    transition: opacity 0.3s ease-in-out;
}
#filterDrawerPanel {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth expand for details */
.details-section {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.details-section.open {
    max-height: 1000px;
    opacity: 1;
}

/* Upload area */
.upload-area {
    border: 2px dashed #e2e8f0;
    transition: all 0.2s ease;
}
.upload-area:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}