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

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617; /* target bg-slate-950 */
    color: #e2e8f0; /* target text-slate-200 */
    background-image: radial-gradient(circle at 50% 0%, #0f172a 0%, #020617 100%);
    min-height: 100vh;
}

.glass {
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.glass-card {
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.glass-input {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    color: white;
    outline: none;
    transition: all 0.2s;
}

.glass-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 40px 0 rgba(20, 184, 166, 0.1);
}

/* Page Titles */
.page-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #2dd4bf, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hidden-view {
    display: none !important;
}

.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.3);
    border-radius: 10px;
}

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

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Meeting Hub dropzone */
.dropzone {
    border: 2px dashed rgba(20, 184, 166, 0.4);
    transition: all 0.2s ease-in-out;
}
.dropzone.drag-over {
    border-color: rgba(20, 184, 166, 1);
    background-color: rgba(20, 184, 166, 0.1);
}

.markdown-preview h1 { font-size: 1.5rem; font-weight: bold; margin-bottom: 0.5rem; color: #fff; }
.markdown-preview h2 { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; margin-top: 1rem; color: #fff; }
.markdown-preview ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #cbd5e1; }
.markdown-preview p { margin-bottom: 1rem; color: #cbd5e1; }

/* Modal Components */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(2, 6, 23, 0.1);
    backdrop-filter: blur(64px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 640px) {
    .modal-overlay { padding: 1.5rem; }
}

.modal-card {
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    padding: 1rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    margin: auto 0;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

@media (min-width: 640px) {
    .modal-card { padding: 1.5rem; }
}

.modal-overlay.hidden {
    display: none !important;
}
