/* Janelvo SaaS - Design System Styles */

:root {
    --brand-navy: #0B1220;
    --primary-color: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary-indigo: #4F46E5;
    --cyan-accent: #06B6D4;
    --success-color: #10B981;
    --page-bg: #F8FAFC;
    --blue-tint: #EFF6FF;
    --heading-color: #0F172A;
    --body-color: #475569;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --text-muted: #64748B;
    --brand-gradient: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--page-bg);
    color: var(--body-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar-custom {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--brand-navy) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: #eff6ff;
}

/* Dashboard Cards */
.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Status Badges */
.badge {
    font-weight: 600;
    padding: 0.4em 0.75em;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Custom Card Container */
.card-custom {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.card-header-custom {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Drag & Drop Upload Zone */
.upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Tables */
.table-custom {
    margin-bottom: 0;
}

.table-custom th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    padding: 0.875rem 1rem;
}

.table-custom td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

/* Countdown Clock */
.countdown-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Footer */
footer {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Button enhancements */
.btn-fb {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
}

.btn-fb:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

/* Drag handle */
.drag-handle {
    cursor: grab;
    color: #94a3b8;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Code box */
pre.code-box {
    background-color: #0f172a;
    color: #38bdf8;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    max-height: 250px;
    overflow-y: auto;
}
