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

:root {
    --dark-bg: #1a1f2e;
    --dark-card: #242e3e;
    --dark-border: #3a4452;
    --light-text: #e2e8f0;
    --muted-text: #94a3b8;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1f2937;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #ffffff;
}

/* Header / Top Bar */
.pro-header {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Card Styles */
.pro-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 1rem;
}

.radiant-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.glass-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

/* Hero Section */
.radiant-hero {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    padding: 2rem;
}

.radiant-hero::after {
    display: none;
}

.radiant-hero h1 { margin: 0; font-size: 1.75rem; font-weight: 700; }
.radiant-hero p { margin: 0.5rem 0 0; color: #6b7280; }

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.btn-primary:active {
    background: #0368a1;
}

.btn-ghost {
    border: 1px solid #d1d5db;
    color: #1f2937;
    border-radius: 4px;
    padding: 0.6rem 1.2rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: #f3f4f6;
    border-color: var(--accent);
}

.btn-ghost:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

/* Table Styles */
.radiant-table-head th {
    background: transparent;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.pro-table-head th {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
}

table tbody tr:hover {
    background: #f3f4f6;
}

table tbody td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Inputs & Forms */
input, select, textarea {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #1f2937;
    border-radius: 4px;
    padding: 0.6rem;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    background: #ffffff;
}

/* Utility Classes */
.pill-soft {
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-anim { animation: slideIn 0.3s ease-out forwards; }

/* Modal & Overlay */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}