/* assets/css/style.css */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #f9fafb;
    --bg-white: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --sidebar-bg: #ffffff;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
    display: flex;
    min-height: 100vh;
}

/* Authentication */
.auth-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.auth-hero {
    flex: 1;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.auth-form-section {
    width: 480px;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    border-left: 1px solid var(--border-color);
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.auth-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: 0.2s;
}

.input-wrapper input:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

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

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--sidebar-bg) !important;
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
}

.sidebar-nav {
    list-style: none;
    margin-top: 32px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
    transition: 0.2s;
}

.sidebar-link.active {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
}

.sidebar-link:hover:not(.active) {
    background: #f9fafb;
    color: var(--text-main);
}

/* Cards & Grid */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.grid-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header & Inputs */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.search-input {
    background: #f3f4f6;
    border: 1px solid transparent;
    padding: 10px 16px 10px 40px;
    border-radius: 8px;
    width: 320px;
    outline: none;
    transition: 0.2s;
}

.search-input:focus {
    background: white;
    border-color: var(--primary-color);
}

/* Timeline & Feed */
.timeline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
}

.date-badge {
    min-width: 56px;
    text-align: center;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.right-sidebar {
    background: #f9fafb;
    padding: 24px;
    border-left: 1px solid var(--border-color);
    width: 320px;
}