@charset "utf-8";
/* CSS Document */
/* WV State Industires Quiz */
.state-industries-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: state-industries-fadeIn 0.3s ease;
}

.state-industries-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: state-industries-slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.state-industries-modal-header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.state-industries-modal-header h2 {
    font-size: 1.3rem;
    margin: 0;
    font-family: inherit;
	color: var(--gold)
}

.state-industries-close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.state-industries-close:hover {
    color: #ffd700;
}

.state-industries-modal-body {
    padding: 1.5rem;
}

#state-industries-question-counter {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #1e3a8a;
}

#state-industries-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

#state-industries-progress-fill {
    height: 100%;
    background-color: #ffd700;
    width: 0%;
    transition: width 0.3s ease;
}

#state-industries-question-container {
    margin-bottom: 2rem;
}

#state-industries-question-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
    font-family: inherit;
}

.state-industries-answer-option {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    font-family: inherit;
	color:#1e3a8a;
}

.state-industries-answer-option:hover {
    background-color: #e0f2fe;
    border-color: #3b82f6;
}

.state-industries-answer-option.state-industries-selected {
    background-color: #dbeafe;
    border-color: #1e3a8a;
}

.state-industries-answer-option.state-industries-correct {
    background-color: #dcfce7;
    border-color: #16a34a;
}

.state-industries-answer-option.state-industries-incorrect {
    background-color: #fecaca;
    border-color: #dc2626;
}

#state-industries-quiz-controls {
    text-align: center;
}

#state-industries-next-btn {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

#state-industries-next-btn:hover:not(:disabled) {
    background-color: #1e40af;
}

#state-industries-next-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

#state-industries-results-container {
    text-align: center;
}

#state-industries-results-container h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-family: inherit;
}

#state-industries-score-display {
    font-size: 2rem;
    font-weight: bold;
    color: #CB8005;
    margin-bottom: 1rem;
}

#state-industries-score-message {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
}

#state-industries-restart-btn {
    background-color: #CB8005;
    color: #1e3a8a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    font-family: inherit;
    transition: transform 0.3s ease;
}

#state-industries-restart-btn:hover {
    transform: translateY(-2px);
}

@keyframes state-industries-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes state-industries-slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .state-industries-modal-content {
        margin: 5% auto;
        width: 98%;
    }
    
    .state-industries-modal-header h2 {
        font-size: 1.1rem;
    }
    
    .state-industries-modal-body {
        padding: 1rem;
    }
    
    #state-industries-question-text {
        font-size: 1.1rem;
    }
    
    .state-industries-answer-option {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}
