:root {
    --sidebar-width: 240px;
}

.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s;
}

.sidebar .nav-link {
    padding: 10px 16px;
    border-radius: 8px;
    margin: 2px 0;
    transition: background-color 0.2s;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: rgba(220, 53, 69, 0.8);
}

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Setup wizard steps */
.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    flex-shrink: 0;
}

.step-dot.active {
    background: #dc3545;
    color: white;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #dee2e6;
    margin: auto 8px;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.card-header {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
}

/* Module cards */
.card .bi.fs-1 {
    font-size: 2.5rem !important;
}

/* Mobile sidebar */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
}

/* Badge colors */
.bg-pink {
    background-color: #e91e63 !important;
}

/* Table */
.table th {
    font-weight: 600;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Alert */
.alert-info {
    border-left: 4px solid #0dcaf0;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}
