/* Profile America - Two Column Layout */
.docujuegos-game-content {
    position: relative;
    margin: 20px 0;
}

.docujuegos-two-column-layout {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    min-height: 400px;
    align-items: flex-start;
}

.docujuegos-left-column {
    flex: 1;
    min-width: 50%;
    padding: 20px;
    background: none;
    border-radius: 8px;
    border: none;
}

.docujuegos-column-title {
    font-size: 16px;
    font-weight: bold;
    color: #052e74;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    border-left: 4px solid #007bff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docujuegos-question-area {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.docujuegos-right-column {
    flex: 1;
    min-width: 50%;
    padding: 20px;
    background: none;
    border-radius: 8px;
    border: none;
}

.docujuegos-answers-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 200px;
}

.docujuegos-answer-option {
    padding: 15px;
    background: #052e74;
    border: 2px solid #052e74;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 16px;
    min-height: 60px;
    display: flex;
    align-items: center;
    color: white;
}

.docujuegos-answer-option .docujuegos-option-letter,
.docujuegos-answer-option .docujuegos-option-text {
    color: white;
}

.docujuegos-answer-option:hover {
    border-color: #007bff;
    background: #0a3d9a;
    color: white;
}

.docujuegos-answer-option:hover .docujuegos-option-letter,
.docujuegos-answer-option:hover .docujuegos-option-text {
    color: white;
}

.docujuegos-answer-option.selected {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.docujuegos-answer-option.selected .docujuegos-option-letter,
.docujuegos-answer-option.selected .docujuegos-option-text {
    color: white;
}

.docujuegos-answer-option.correct {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.docujuegos-answer-option.correct .docujuegos-option-letter,
.docujuegos-answer-option.correct .docujuegos-option-text {
    color: white;
}

.docujuegos-answer-option.incorrect {
    border-color: #dc3545;
    background: #dc3545;
    color: white;
}

.docujuegos-answer-option.incorrect .docujuegos-option-letter,
.docujuegos-answer-option.incorrect .docujuegos-option-text {
    color: white;
}

.docujuegos-option-letter {
    font-weight: bold;
    margin-right: 10px;
    min-width: 30px;
}

.docujuegos-timer-area {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 5px;
}

.docujuegos-timer-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.docujuegos-timer-progress {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
    width: 100%;
    transition: width 1s linear;
}

.docujuegos-timer-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .docujuegos-two-column-layout {
        flex-direction: column;
        gap: 10px;
    }
    
    .docujuegos-left-column,
    .docujuegos-right-column {
        min-width: 100%;
    }
    
    .docujuegos-question-area {
        font-size: 16px;
        min-height: 80px;
    }
    
    .docujuegos-answer-option {
        font-size: 14px;
        min-height: 50px;
    }
}

/* Result area styling */
.docujuegos-result-area {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.docujuegos-result-area.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.docujuegos-result-area.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.docujuegos-result-area.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Game controls styling */
.docujuegos-game-controls {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.docujuegos-button {
    margin: 5px;
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    line-height: 1.1;
    height: auto;
}

.docujuegos-button-primary {
    background: #007bff;
    color: white;
}

.docujuegos-button-primary:hover {
    background: #0056b3;
}

/* Enhanced Start Button styling */
#profile-america-start-btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: 2px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#profile-america-start-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    border-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

#profile-america-start-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

#profile-america-start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#profile-america-start-btn:hover::before {
    left: 100%;
}

.docujuegos-button-secondary {
    background: #6c757d;
    color: white;
}

.docujuegos-button-secondary:hover {
    background: #545b62;
}

/* Enhanced Action Buttons styling */
#profile-america-show-answer-btn,
#profile-america-next-btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    border: 2px solid #6c757d;
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

#profile-america-show-answer-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    color: white;
}

#profile-america-show-answer-btn:hover {
    background: linear-gradient(135deg, #218838, #1ca085);
    border-color: #1e7e34;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
}

#profile-america-next-btn {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border-color: #17a2b8;
    color: white;
}

#profile-america-next-btn:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    border-color: #117a8b;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
    transform: translateY(-2px);
}

#profile-america-show-answer-btn:active,
#profile-america-next-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.docujuegos-difficulty-selector {
    margin-top: 10px;
    display: none;
}

.docujuegos-difficulty-btn {
    margin: 5px;
    padding: 8px 16px;
    background: #197bdd;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
}

.docujuegos-difficulty-btn:hover {
    background: #0e579f;
}

/* Loading and error states */
.docujuegos-loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.docujuegos-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
}

/* Header and info styling */
.docujuegos-game-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
}

.docujuegos-game-title {
    color: white;
    font-size: 28px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.docujuegos-game-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.docujuegos-score-display,
.docujuegos-correct-display,
.docujuegos-difficulty-display {
    text-align: center;
    padding: 4px 4px;
    background: #235587;
    border-radius: 5px;
    min-width: 100px;
}

.docujuegos-score-label,
.docujuegos-correct-label,
.docujuegos-difficulty-label {
    display: block;
    font-weight: bold;
    margin-bottom: 1px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    font-size: 10px;
}

.docujuegos-score-value,
.docujuegos-correct-value,
.docujuegos-difficulty-value {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.docujuegos-instructions {
    margin-bottom: 15px;
    display: inline-block;
    width: auto;
    padding: 8px 16px;
    height: auto;
}

.docujuegos-game-stats {
    margin: 20px 0;
    padding: 20px;
    background: #e9ecef;
    border-radius: 8px;
}

.docujuegos-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.docujuegos-stat-item {
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.docujuegos-stat-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.docujuegos-stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}

/* Modal styles for instructions */
.docujuegos-instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.docujuegos-instructions-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.docujuegos-instructions-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.docujuegos-instructions-close:hover {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .docujuegos-game-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .docujuegos-game-title {
        font-size: 24px;
    }
    
    .docujuegos-score-value,
    .docujuegos-correct-value,
    .docujuegos-difficulty-value {
        font-size: 20px;
    }
    
.docujuegos-stats-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Next controls container styling */
.docujuegos-next-controls {
    display: none;
}

.docujuegos-next-controls.visible {
    display: block;
}
}
