/* assets/css/style.css */
:root {
    --navy: #0a1628;
    --navy-light: #162a45;
    --gold: #d4a017;
    --gold-hover: #b8860b;
    --bg-light: #f4f6f9;
}

body {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-navy {
    color: var(--navy) !important;
}
.bg-navy {
    background-color: var(--navy) !important;
}
.text-gold {
    color: var(--gold) !important;
}
.bg-gold {
    background-color: var(--gold) !important;
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: none;
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    color: #fff;
}

/* Wrapper and Sidebar layout */
.wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    height: 100vh;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar.collapsed {
    margin-left: -250px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.page-content-scroll {
    overflow-y: auto;
    flex: 1;
}

.nav-link {
    transition: all 0.2s;
}
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Kanban Board */
.kanban-board {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
}
.kanban-col {
    min-width: 300px;
    background: #e9ecef;
    border-radius: 8px;
    padding: 10px;
}

/* Workflow Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.step {
    text-align: center;
    position: relative;
    flex: 1;
}
.step::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 100%;
    height: 3px;
    background: #dee2e6;
    z-index: 1;
    left: 50%;
}
.step:last-child::before {
    display: none;
}
.step.completed::before {
    background: var(--gold);
}
.step-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #dee2e6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    position: relative;
    z-index: 2;
}
.step.completed .step-icon {
    background: var(--gold);
}
.step.in_progress .step-icon {
    background: #0d6efd;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

@media (max-width: 768px) {
    .sidebar {
        position: absolute;
        margin-left: -250px;
    }
    .sidebar.show {
        margin-left: 0;
    }
}
