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

:root {
    --primary: #0D084D;
    --secondary: #F4A951;
    --accent: #B1FFC2;
    --btn-primary: #0A4560;
    --bg-light: #F7F9FC;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-muted: #6B7280;
    --danger: #EF4444;
    --success: #10B981;
    --radius: 12px;
    --shadow: 0 10px 25px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 { color: var(--primary); font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--text-muted); line-height: 1.6; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    outline: none;
    gap: 0.5rem;
}

.btn-primary { background-color: var(--btn-primary); color: var(--text-light); }
.btn-primary:hover { background-color: #083c54; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10, 69, 96, 0.2); }

.btn-secondary { background-color: var(--secondary); color: var(--text-light); }
.btn-secondary:hover { opacity: 0.9; transform: translateY(-2px); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
form input, form select, form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFF;
    transition: var(--transition);
    font-size: 1rem;
}
form input:focus, form select:focus, form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 8, 77, 0.1);
    outline: none;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-logo span { color: var(--secondary); }

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
}

.main-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

/* Cards & Boards */
.card {
    background: #FFF;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* Task Board Grid */
.boards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.task-card {
    background: #FFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
}

.task-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: #D1D5DB;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-pending { background: #FEF3C7; color: #D97706; }
.badge-inprogress { background: #DBEAFE; color: #2563EB; }
.badge-underreview { background: #E0E7FF; color: #4F46E5; }
.badge-completed { background: #D1FAE5; color: #059669; }

/* Login Container */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
}

.login-card {
    background: #FFF;
    width: 100%;
    max-width: 420px;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.login-card h2 { margin-bottom: 2rem; }

/* Chat Box */
.chat-container { border: 1px solid #E5E7EB; border-radius: 8px; max-height: 400px; display: flex; flex-direction: column; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; background: #F9FAFB; }
.chat-input { display: flex; border-top: 1px solid #E5E7EB; padding: 1rem; background: #FFF; }
.chat-input input { flex: 1; border: none; padding: 0.5rem; outline: none; }
.chat-bubble { max-width: 80%; padding: 0.75rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-size: 0.95rem; }
.chat-bubble.sent { background: var(--primary); color: #FFF; margin-left: auto; border-bottom-right-radius: 2px; }
.chat-bubble.received { background: #E5E7EB; color: var(--text-dark); margin-right: auto; border-bottom-left-radius: 2px; }

/* Timer */
.timer-display { font-size: 2.5rem; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
