/**
 * Quiz Status Styling
 * 
 * Styles for the quiz status display components
 */

.quiz-status-container {
    margin: 20px auto;
    max-width: 600px;
    padding: 15px;
}

.quiz-status-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.quiz-status-card:hover {
    transform: translateY(-5px);
}

.quiz-status-card h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.status-submitted {
    color: #e74c3c;
    font-weight: bold;
    margin: 10px 0;
    padding: 5px;
    background-color: #fadbd8;
    border-radius: 5px;
}

.status-available {
    color: #27ae60;
    font-weight: bold;
    margin: 10px 0;
    padding: 5px;
    background-color: #d4efdf;
    border-radius: 5px;
}

.campaign-end-date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Button styles */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #3490dc;
    border-color: #3490dc;
}

.btn-primary:hover {
    background-color: #2779bd;
    border-color: #2779bd;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

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

.disabled {
    opacity: 0.65;
    pointer-events: none;
}

/* Form styles */
#registration-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

#registration-message {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
}

/* Status check form */
.status-check-form {
    display: flex;
    max-width: 400px;
    margin: 20px auto;
}

#phone-check {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
}

#check-status-btn {
    border-radius: 0 4px 4px 0;
    padding: 8px 15px;
}

/* Status message area for status checks */
.status-message-area {
    max-width: 400px;
    margin: 10px auto;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

.info-message {
    background-color: #e2f0fb;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Highlight animation */
@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.highlight-animation {
    animation: highlight-pulse 1s ease-in-out;
}
