/* Certification Management System Styles */

.certification-management {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Framework List Styles */
.frameworks-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.framework-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.framework-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0,123,255,0.1);
}

.framework-item.active {
    border-color: #007bff;
    background-color: #f8f9fa;
}

/* Framework View Styles */
.frameworks-view {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

/* Tab Styles */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #495057;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Form Styles */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Notification Styles */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    pointer-events: none;
}

/* Loading Styles */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Modal Styles */
.modal-header {
    background-color: #007bff;
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Table Styles */
.table-responsive {
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
}

/* Test Runner Styles */
.test-results {
    max-height: 600px;
    overflow-y: auto;
}

.test-case {
    border-left: 4px solid #dee2e6;
    padding-left: 15px;
    margin-bottom: 15px;
}

.test-case.passed {
    border-left-color: #28a745;
}

.test-case.failed {
    border-left-color: #dc3545;
}

/* Debug Styles */
.debug-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .frameworks-list,
    .frameworks-view {
        padding: 15px;
    }
    
    .custom-notification {
        max-width: 300px;
        right: 10px;
        top: 10px;
    }
}
