/**
 * Main Stylesheet
 * 
 * This file contains the general styles for the Cyber Agent Training Platform.
 */

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

/* Card Styles */
.card {
    margin-bottom: 20px;
    border-width: 2px;
    color: white;
}

.accordion-body{
    color: white;
}

.card-header {
    font-weight: 500;
}

/* Form Styles */
.form-control {
    border-color: #2c2c2c;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Button Styles */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

/* Alert Styles */
.alert {
    border-width: 2px;
}

/* Progress Bar Styles */
.progress {
    height: 10px;
    border-radius: 5px;
}

/* List Group Styles */
.list-group-item {
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #2c2c2c;
}

/* Badge Styles */
.badge {
    font-weight: 500;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
}

.dropdown-menu {
    border-width: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.dropdown-item:hover {
    background-color: #2c2c2c;
}

/* Footer Styles */
footer {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Override Bootstrap text-muted for better contrast on dark background */
.text-muted {
    color: #b0b0b0 !important; /* Lighter gray for better contrast */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-title {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.4rem;
    }
}
