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

body {
    font-family: 'Inter', sans-serif;
}
/* Collection input styling */
#collectionName {
    border-bottom: 1px solid #78716c;
}

#collectionName:focus {
    border-bottom-color: #d1d5db;
}

/* Document grid layout */
#documentsList {
    grid-auto-rows: 1fr;
}

#documentsList > div {
    display: flex;
    flex-direction: column;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #57534e;
}

/* JSON editor styling */
#jsonEditor {
    font-size: 14px;
    line-height: 1.5;
}

/* Animation for buttons */
button {
    transition: all 0.2s ease-in-out;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #78716c;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}