


/* cards */

.glass-card {
  background-color: rgba(255, 255, 255, 0.4); 
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

/* blocks */

.header-block-with-bottom-margin {
  margin-bottom: 1.2rem; 
  padding-bottom: 1rem; 
  border-bottom: 1px solid #eee;
  text-align: left;
}

/* common page elements */

div.back-link {
  text-align: left !important; 
  width: 100%;
}
div.back-link > a {
  text-decoration: none !important;
}
div.back-link > a:hover {
  text-decoration: none !important;
}
/* Button Styles */


.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--purple-400);
    border-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-color: var(--purple-800);
    border-color: #0056b3;
}

.btn-primary:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.btn-icon {
    font-size: 1rem;
}




/* Button Variations */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-outline {
    background-color: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-outline:hover {
    background-color: #667eea;
    color: white;
}


/* Next button styling */
.next-button-section {
    text-align: center;
    margin: 2rem 0;
}

.next-btn {
    background: #007bff !important;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.next-btn:hover {
    background: #0056b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* results badge (pass/fail) */
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.result-badge.correct {
    background: linear-gradient(135deg, #1a3a1a, #2d4d2d);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.result-badge.incorrect {
    background: linear-gradient(135deg, #3a1a1a, #4d2d2d);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

/* question components */

input[type="radio"],
input[type="checkbox"]

{
/*  border: none;
      margin-right: 0.75rem;
    transform: scale(1.2);
    outline: none;
    */
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.question-option input:checked ~ .option-text {
    font-weight: 600;
}

.radio-input-replacement, .checkbox-input-replacement {
  padding-bottom: 4px;
  padding-right: 10px;
}

/* https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
.radio-input-replacement.bi-circle-fill {
  color: var(--white-transparent-strong);
}
.radio-input-replacement.bi-record-circle {
  color: var(--black-transparent-strong);
}
.checkbox-input-replacement {
  color: var(--white-transparent-strong);
}
.checkbox-input-replacement.bi-check-square {
  color: var(--black-transparent-strong);
}




/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #718096;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #4a5568;
    margin-bottom: 1rem;
}

