@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.container-shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 3px 6px rgba(0, 0, 0, 0.03);
}

.card-preview {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid transparent;
}

.card-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-open-border {
    border-left-color: #3b82f6;
}

.card-mcq-border {
    border-left-color: #8b5cf6;
}

.button-primary {
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(165, 180, 252, 0.5), 0 4px 6px -4px rgba(165, 180, 252, 0.5);
    transition: all 0.3s;
    transform: scale(1);
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background-color: #4338ca;
}

.button-primary:active {
    transform: scale(0.95);
}

.button-secondary {
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    transform: scale(1);
    border: none;
    cursor: pointer;
}

.button-secondary:hover {
    background-color: #d1d5db;
}

.button-secondary:active {
    transform: scale(0.95);
}

.input-style {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    transition: all 0.15s;
    outline: none;
    background-color: white;
}

.input-style:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.modal-enter {
    opacity: 0;
    transform: scale(0.9);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 300ms, transform 300ms;
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 300ms, transform 300ms;
}