/* Custom styles for Gateway Test Platform */

/* Main layout */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #f8f9fa;
}

.branding-bar {
    height: 4px;
    background: linear-gradient(90deg, #0062cc, #007bff, #0099ff);
}

/* Sidebar styling */
.sidebar {
    width: 250px;
    position: fixed;
    top: 4px;
    left: 0;
    height: calc(100vh - 4px);
    background-color: #1a1a1a;
    color: #f8f9fa;
    z-index: 1000;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #333;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
}

.sidebar-brand i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: #007bff;
}

.sidebar-body {
    padding: 1rem 0;
    height: calc(100% - 190px);
    overflow-y: auto;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-link:hover {
    color: #fff;
    background-color: rgba(0, 123, 255, 0.1);
}

.sidebar-link.active {
    color: #fff;
    background-color: rgba(0, 123, 255, 0.2);
    border-left: 4px solid #007bff;
    padding-left: calc(1.5rem - 4px);
}

.sidebar-link i {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 1.25rem;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #333;
}

/* Main content area */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
    padding-top: 4px;
    transition: all 0.3s;
}

.main-content.fullwidth {
    margin-left: 0;
}

.main-header {
    padding: 1rem;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.content-container {
    padding: 1.5rem;
}

/* Sidebar toggle button */
.sidebar-toggle {
    background: none;
    border: none;
    color: #f8f9fa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-right: 1rem;
    display: none;
}

/* Responsive design */
@media (max-width: 992px) {
    .sidebar {
        margin-left: -250px;
    }
    
    .sidebar.active {
        margin-left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .main-content.active {
        margin-left: 250px;
    }
    
    .sidebar-toggle {
        display: block;
    }
}

/* Cards */
.card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f8f9fa; /* Zorg dat alle tekst in cards licht is */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
    padding: 1rem;
    color: #f8f9fa;
}

/* Statistische kaarten op dashboard */
.stats-card {
    text-align: center;
    padding: 1.5rem;
    color: #212529;
    background-color: #cfe2ff;
    border-color: #b6d4fe;
}

.stats-card .stats-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.stats-card .stats-label {
    font-size: 1rem;
    color: #495057;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    border-radius: 4px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
}

/* Floating action button */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.fab {
    width: 56px;
    height: 56px;
    background-color: #007bff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.fab:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Tooltip */
.g-tooltip {
    position: relative;
}

.g-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
}

.g-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Button ripple effect */
.ripple {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Forms */
.form-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
}

.form-control:focus {
    background-color: #2a2a2a;
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    color: #fff;
}

.form-select {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
}

.form-select:focus {
    background-color: #2a2a2a;
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    color: #fff;
}

/* Tables */
.table {
    color: #f8f9fa;
}

.table-dark {
    background-color: #1a1a1a;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    color: #f8f9fa;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand img {
    max-height: 40px;
    margin-right: 10px;
}

.footer-brand-text {
    font-weight: 500;
    color: #f8f9fa;
}

/* Badge */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Stat cards */
.stat-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #007bff;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #adb5bd;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Knowledge base styles */
.kb-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kb-card .card-body {
    flex: 1;
}

.kb-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

/* Test cases styles */
.test-case-card {
    transition: all 0.2s ease;
    border-left: 5px solid #6c757d;
}

.test-case-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.test-case-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Partner logos */
.partner-logo {
    height: 30px;
    margin-right: 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

/* LSP specific styles */
.lsp-badge {
    background-color: #17a2b8;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.lsp-badge i {
    margin-right: 0.25rem;
}

/* Nieuwe UI elementen */
.border-left-primary {
    border-left: 4px solid #4e73df !important;
}
.border-left-success {
    border-left: 4px solid #1cc88a !important;
}
.border-left-danger {
    border-left: 4px solid #e74a3b !important;
}
.border-left-info {
    border-left: 4px solid #36b9cc !important;
}

.icon-circle {
    height: 60px;
    width: 60px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: #2a2a2a;
}

.cert-badge {
    transition: all 0.3s;
}

.cert-badge:hover {
    transform: scale(1.1);
}

.footer-divider {
    border-color: #333;
}

/* Rolgebaseerd dashboard elementen */
.submenu {
    list-style: none;
    padding-left: 3.5rem;
    overflow: hidden;
    display: none;
}

.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

.submenu-indicator {
    margin-left: auto;
    transition: transform 0.3s;
}

.submenu .sidebar-link {
    padding-left: 1rem;
    font-size: 0.9rem;
}

/* Vergelijkingstabel styling */
.comparison-table th, 
.comparison-table td {
    border-right: 1px solid #333;
}

.comparison-table th:last-child, 
.comparison-table td:last-child {
    border-right: none;
}

.chart-filters {
    padding: 8px;
    background-color: #2a2a2a;
    border-radius: 6px;
}