body {
    background-color: #f5f7fa;
}

.navbar-brand {
    font-weight: bold;
    color: #ffffff !important;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
}

.navbar-nav .nav-link:hover {
    color: #e3f2fd !important;
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.btn-primary {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
}

.btn-primary:hover {
    background-color: #1e3f73;
    border-color: #1e3f73;
}

.table thead:not(.table-dark) th {
    background-color: #f8f9fa;
    border-top: none;
}

.table-dark thead th {
    color: #ffffff;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .card-body {
        padding: 1rem;
    }
    .btn {
        font-size: 0.875rem;
    }
    .table-responsive {
        font-size: 0.875rem;
    }
    .display-5 {
        font-size: 2rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Touch-friendly buttons */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
    .btn-sm {
        min-height: 38px;
        padding: 0.375rem 0.75rem;
    }
}

/* Navbar brand background */
.bg-brand {
    background-color: #2c5aa0 !important;
}

/* Utility classes */
.cursor-pointer {
    cursor: pointer;
}

.icon-lg {
    font-size: 4rem;
    color: #6c757d;
}

.icon-md {
    font-size: 1.25rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
}

/* Progress bar dimensions */
.progress-bar-container {
    width: 100px;
    height: 20px;
}

.progress-h20 {
    height: 20px;
}

/* Chart canvas heights */
.chart-420 {
    max-height: 420px;
}

.chart-480 {
    max-height: 480px;
}

.chart-280 {
    max-height: 280px;
}

/* Chart subheading */
.chart-subheading {
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

/* Table column widths for assessment report */
.col-w-50 {
    width: 50%;
}

.col-w-25 {
    width: 25%;
}

/* OTP input */
.otp-input {
    font-size: 1.2em;
    letter-spacing: 0.2em;
}

/* Version footer */
.version-footer {
    font-size: 0.7rem;
    color: #ccc;
}

/* Question text in admin table */
.question-text {
    line-height: 1.4;
    max-width: 400px;
}
