/* IT Security Audit Platform - Custom Styles */

:root {
    --wte-primary: #1e3a8a;
    --wte-secondary: #3b82f6;
    --sidebar-width: 260px;
    --header-height: 70px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    background: linear-gradient(135deg, var(--wte-primary) 0%, var(--wte-secondary) 100%);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-body {
    display: flex;
    margin-top: var(--header-height);
}

.app-sidebar {
    width: var(--sidebar-width);
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #374151;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover {
    background-color: #f3f4f6;
    color: var(--wte-primary);
}

.sidebar-nav .nav-link.active {
    background-color: #eff6ff;
    color: var(--wte-primary);
    border-left-color: var(--wte-primary);
    font-weight: 600;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    padding: 0.5rem 1.5rem;
}

.nav-icon {
    width: 20px;
    margin-right: 0.75rem;
}

.app-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 1.5rem;
    min-height: calc(100vh - var(--header-height));
}

.stat-card {
    border-radius: 8px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--wte-primary);
    border-color: var(--wte-primary);
}

.btn-primary:hover {
    background-color: #1e40af;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
