@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

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

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

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

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

/* Animation for upload button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

#uploadBtn {
    animation: pulse 2s infinite;
}

#uploadBtn:hover {
    animation: none;
}
/* Document consultation styles */
.shared-document {
    transition: all 0.2s ease;
}

.shared-document:hover {
    background-color: #f9fafb;
    transform: translateX(4px);
}

/* Sidebar styles */
main {
    transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
    custom-sidebar {
        display: none;
    }
    main {
        margin-left: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
.document-icon {
    min-width: 40px;
}

/* Transition for modal */
#uploadModal {
    transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .grid-cols-1 {
        grid-template-columns: 1fr;
    }
}

/* Custom file drop area highlight */
.highlight-drop {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.05) !important;
}