/* View Daily Solution Styles */

.solution-container {
    margin-top: 1rem;
    padding: 0.5rem;
}

.solution-header {
    margin-bottom: 2rem;
}

.solution-header h2 {
    color: #e1e1e1;
    margin-bottom: 0;
}

.puzzle-id {
    font-size: 0.9rem;
    color: #9de0f6;
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
}

.header-actions .btn {
    margin-left: 0.5rem;
}

/* Challenge info cards */
.challenge-info {
    margin-bottom: 2rem;
}

.info-card {
    background-color: #242424;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    height: 100%;
}

.info-card h6 {
    color: #9de0f6;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card p {
    color: #e1e1e1;
    margin-bottom: 0;
    font-weight: 500;
}

/* Decrypted message */
.decrypted-message-container {
    background: linear-gradient(135deg, #1c1c1c 0%, #242424 100%);
    border: 2px solid #9de0f6;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(157, 224, 246, 0.1);
}

.decrypted-message-container h4 {
    color: #9de0f6;
    margin-bottom: 1rem;
}

.decrypted-message {
    background-color: #2a2a2a;
    border: 1px solid #9de0f6;
    border-radius: 8px;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #e1e1e1;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
}

/* Solutions section */
.solutions-section {
    margin-top: 3rem;
}

.solutions-section h3 {
    color: #e1e1e1;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #333;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-item {
    background-color: #242424;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.solution-item:hover {
    border-color: #9de0f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.question-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
}

.question-number {
    background: linear-gradient(135deg, #9de0f6 0%, #7bb3d3 100%);
    color: #1c1c1c;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.question-content {
    flex: 1;
}

.question-text {
    color: #e1e1e1;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.solution-answer {
    background-color: #1c1c1c;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.answer-label {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.answer-value {
    color: #e1e1e1;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #2a2a2a;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #333;
}

.hint-section {
    background-color: #2a2a2a;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
}

.hint-label {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;    letter-spacing: 0.5px;
}

.hint-text {
    color: #e1e1e1;
    font-style: italic;
    line-height: 1.4;
}

/* Navigation */
.solution-navigation {
    text-align: center;
}

.solution-navigation .alert {
    background-color: #242424;
    border-color: #333;
    color: #e1e1e1;
}

/* Difficulty badges */
.difficulty-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.difficulty-easy {
    background-color: #28a745;
    color: white;
}

.difficulty-medium {
    background-color: #ffc107;
    color: #212529;
}

.difficulty-hard {
    background-color: #fd7e14;
    color: white;
}

.difficulty-expert {
    background-color: #dc3545;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .solution-container {
        padding: 0.25rem;
    }
    
    .solution-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .header-actions .btn {
        margin-left: 0;
        font-size: 0.875rem;
    }
    
    .question-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .question-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .decrypted-message-container {
        padding: 1.5rem;
    }
    
    .decrypted-message {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .info-card {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.5rem;
    }
    
    .puzzle-id {
        font-size: 0.8rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .answer-value {
        font-size: 1rem;
    }
    
    .decrypted-message {
        font-size: 0.9rem;
    }
}
