html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.wrapper {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.page-content {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/*.arrow-btn {
    font-size: 22px;
    border: none;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

    .arrow-btn:hover {
        background: #084298;
    }*/

.exam-wrapper {
    max-width: 900px;
    margin: auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timer-box {
    font-weight: 600;
    color: #dc3545;
}

.clear-btn {
    background: #ffc107;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.question-nav {
    text-align: center;
    margin-bottom: 15px;
}

.q-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 600;
}

.question-box {
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 20px;
    background: #fafafa;
    transition: .3s;
}

.arrow-btn {
    border: none;
    background: #0d6efd;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
}

.options label {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    gap: 10px;
}

    .options label:hover {
        background: #f1f5ff;
    }

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

    .q-btn {
         transition: all 0.2s ease-in-out;
    }

    /* Hover effect */
    .q-btn:hover {
        background: #0b5ed7 !important;
        transform: scale(1.1);
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }

    /* Active (current question) */
    .q-btn.bg-warning {
        transform: scale(1.1);
        box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    }

.q-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 600;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
}

    .q-btn.attempted {
        background: #fd7e14 !important;
        color: #fff !important;
        border-color: #fd7e14;
    }

    .q-btn.bg-warning {
        background: #ffc107 !important;
        color: #000 !important;
        border-color: #ffc107;
    }

