/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalShow 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
}

.modal .close:hover {
    background: var(--bg-accent);
    color: var(--text-main);
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

#order-form input,
#order-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 16px;
    transition: border-color 0.3s;
    width: 100%;
    font-family: inherit;
}

#order-form input:focus,
#order-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
}