/* Custom Styles for CT Test System */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.min-vh-100 {
    min-height: 100vh;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.btn {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #4a6bff;
    border-color: #4a6bff;
}

.btn-primary:hover {
    background-color: #3a5bef;
    border-color: #3a5bef;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: #4a6bff;
}

.alert {
    border-radius: 8px;
    border: none;
}

.list-group-item {
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Test interface styles */
.test-question {
    font-size: 1.1rem;
    line-height: 1.6;
}

.test-option {
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid #e9ecef;
}

.test-option:hover {
    border-color: #4a6bff;
    background-color: #f8f9ff;
}

.test-option.selected {
    border-color: #4a6bff;
    background-color: #eef2ff;
}

/* Modal styles */
.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-radius: 10px 10px 0 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .navbar, .btn, .modal, .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}