body {
    background-color: #f8f9fa;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

/* Navbar */
.navbar-brand {
    font-size: 22px;
    font-weight: bold;
}

/* Cards */
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-header {
    font-weight: bold;
    font-size: 18px;
}

/* Buttons */
.btn {
    border-radius: 5px;
}

.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-secondary {
    font-weight: 600;
}

/* Tables */
.table {
    background: #fff;
}

.table th {
    text-align: center;
    vertical-align: middle;
}

.table td {
    vertical-align: middle;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 5px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Login Box */
.login-box {
    max-width: 450px;
    margin: 80px auto;
}

.login-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

/* Dashboard Cards */
.dashboard-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.dashboard-card h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 16px;
    margin: 0;
}

/* Question Box */
.question-box {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.question-number {
    font-weight: bold;
    font-size: 18px;
}

/* Theory Answer */
textarea {
    resize: vertical;
}

/* Timer */
.timer {
    font-size: 22px;
    font-weight: bold;
    color: #dc3545;
    text-align: center;
}

/* Result */
.result-score {
    font-size: 40px;
    font-weight: bold;
    color: #198754;
}

.grade-box {
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
}

/* Print */
@media print {

    .no-print {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .dashboard-card h2 {
        font-size: 24px;
    }

    .result-score {
        font-size: 30px;
    }

    .table {
        font-size: 13px;
    }

    .card-header {
        font-size: 16px;
    }
}
