/* Quiz App - Custom Styles */

/* Flash message styling */
article.pico-background-red {
    background-color: #d32f2f;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

article.pico-background-green {
    background-color: #388e3c;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

article.pico-background-blue {
    background-color: #1976d2;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--pico-muted-border-color);
}

/* Card hover effects */
article:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

/* Timer display */
.timer {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}

.timer.warning {
    color: #ff9800;
}

.timer.danger {
    color: #d32f2f;
}

/* Round status badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-open {
    background-color: #4caf50;
    color: white;
}

.badge-closed {
    background-color: #9e9e9e;
    color: white;
}

.badge-submitted {
    background-color: #2196f3;
    color: white;
}

/* QR code display */
.qr-code {
    text-align: center;
    padding: 1rem;
}

.qr-code img {
    max-width: 200px;
    height: auto;
}

/* Form builder styles */
.question-item {
    border: 1px solid var(--pico-muted-border-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.question-item:hover {
    border-color: var(--pico-primary);
}

/* Spreadsheet container */
.spreadsheet-container {
    overflow-x: auto;
    margin: 1rem 0;
}
