/* Feedback Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    color: #1e3a5f;
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
}
.modal-close:hover {
    color: #1e3a5f;
}
.modal-body {
    padding: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-hint {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover {
    background: #1d4ed8;
}
.btn-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Success Modal */
.success-content {
    text-align: center;
    padding: 40px 24px;
}
.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}
.success-content h2 {
    margin-bottom: 12px;
    color: #1e3a5f;
}
.success-content p {
    color: #6b7280;
    margin-bottom: 24px;
}
.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1e3a5f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 12px;
}
.btn-app:hover {
    background: #2563eb;
}
.btn-close-text {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-close-text:hover {
    color: #1e3a5f;
}

/* Feedback Link (below puzzle) */
.feedback-link-container {
    text-align: center;
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.feedback-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.feedback-link:hover {
    color: white;
    text-decoration: underline;
}
