/* Модальное окно для вопроса */
#messageModal .modal-content {
    max-width: 500px;
    width: 90%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-family: 'Bad Script', cursive;
}

#messageModal h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #800080;
    text-align: center;
}

#modalPhotoCaption {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #4a3a30;
    text-align: center;
    font-style: italic;
}

#userQuestionInput,
#userContact {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

#userQuestionInput {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

#userQuestionInput:focus,
#userContact:focus {
    outline: none;
    border-color: #800080;
}

.send-message-btn {
    align-self: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #800080, #d6a3d6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.6),
        inset 0 -2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
}

.send-message-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 6px 12px rgba(0,0,0,0.15),
        inset 0 3px 6px rgba(255,255,255,0.7),
        inset 0 -3px 6px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #6a006a, #c080c0);
}

.send-message-btn:active {
    transform: scale(0.95);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 3px rgba(255,255,255,0.8),
        inset 0 -1px 3px rgba(0,0,0,0.1);
}

/* Уведомление об отправке */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    animation: fadeInUpToast 0.5s ease forwards;
}

.toast i {
    color: #4CAF50;
    font-size: 1.2rem;
}

@keyframes fadeInUpToast {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}