.solve-puzzle-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(30, 32, 35, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    border: 1px solid #333;
}

.solve-puzzle-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.puzzle-id {
    display: block;
    font-size: 0.6em;
    margin-top: 0.3rem;
}

.puzzle-id:hover {
    color: #9de0f6;
}

.encrypted-message-container {
    background-color: #242424;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #333;
}

.encrypted-message {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
    word-break: break-all;
    overflow-wrap: break-word;
    max-height: 200px;
    overflow-y: auto;
    transition: filter 0.3s ease;
}

.encrypted-message.blurred {
    filter: blur(3px);
}

.questions-section h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.list-group-item {
    background-color: #242424;
    border-color: #333;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
}

.question-answer-pair {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.question-text {
    font-weight: 500;
    color: var(--text-color);
}

.answer-input {
    margin-top: 0.5rem;
}

.form-control {
    background-color: #333;
    border-color: #444;
    color: var(--text-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background-color: #3a3a3a;
    color: var(--text-color);
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.test-answer-btn {
    min-width: 80px;
    transition: all 0.3s ease;
}

.btn-outline-secondary {
    color: #adb5bd;
    border-color: #495057;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #495057;
    color: #fff;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-warning {
    background-color: #fd7e14; /* Orange */
    border-color: #fd7e14;
    color: white;
}

.feedback-message {
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 20px;
    color: #9de0f6;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #fd7e14 !important;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.15);
    border-color: rgba(23, 162, 184, 0.3);
    color: #9de0f6;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hints */

.hint-container {
    margin-top: 0.75rem;
}

.hint-btn {
    background-color: transparent;
    color: #ffc107;
    border-color: #ffc107;
    padding: 4px 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.hint-btn:hover {
    background-color: rgba(255, 193, 7, 0.1);
}

.hint-btn i {
    font-size: 1rem;
}

.hint-text {
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-style: italic;
    color: #adb5bd;
    border-left: 3px solid #ffc107;
}