/* vWhistle - Custom Styles */

:root {
    --sidebar-bg: #1a2035;
    --sidebar-width: 260px;
}

/* ========== Sidebar ========== */
.sidebar {
    background-color: var(--sidebar-bg);
    min-height: 100vh;
}

.sidebar .nav-link {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: background-color 0.15s ease;
}

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

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

/* ========== Hero Section ========== */
.hero-section {
    background: linear-gradient(135deg, #1a2035 0%, #0d1b2a 100%);
    min-height: 380px;
    display: flex;
    align-items: center;
}

/* ========== Feature icons ========== */
.feature-icon {
    width: 56px;
    height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* ========== Message bubbles ========== */
.message-bubble {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message-whistleblower {
    background-color: #0d6efd;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-officer {
    background-color: #f0f4f8;
    color: #212529;
    border-bottom-left-radius: 4px;
    border: 1px solid #dee2e6;
}

/* ========== Cards ========== */
.card {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* ========== Tables ========== */
.table > :not(caption) > * > * {
    vertical-align: middle;
}

/* ========== Form controls ========== */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* ========== Badges ========== */
.badge {
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* ========== Process steps ========== */
.process-step {
    padding: 1.5rem;
}

.step-number {
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* ========== Alerts ========== */
.alert {
    border-radius: 12px;
}

/* ========== Monospace inputs ========== */
.font-monospace {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.05em;
}

/* ========== Scrollbar ========== */
#messagesContainer::-webkit-scrollbar {
    width: 4px;
}

#messagesContainer::-webkit-scrollbar-track {
    background: transparent;
}

#messagesContainer::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 2px;
}

/* ========== Print ========== */
@media print {
    .sidebar, nav, footer, .btn, form {
        display: none !important;
    }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
}
