.cmo-order-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Перемикач мов */
.cmo-lang-switcher {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cmo-lang-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.cmo-lang-btn:hover {
    border-color: #0073aa;
}

.cmo-lang-btn.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Секції форми */
.cmo-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.cmo-section:last-child {
    border-bottom: none;
}

.cmo-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

/* Групи полів */
.cmo-form-group {
    margin-bottom: 20px;
}

.cmo-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.cmo-required {
    color: #d63638;
    font-weight: bold;
}

/* Поля вводу */
.cmo-input,
.cmo-select,
.cmo-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.cmo-input:focus,
.cmo-select:focus,
.cmo-textarea:focus {
    outline: none;
    border-color: #0073aa;
}

.cmo-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Вибір з зображеннями */
.cmo-image-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.cmo-image-option {
    flex: 0 0 auto;
    border: 3px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: #fff;
    min-width: 80px;
}

.cmo-image-option:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cmo-image-option.selected {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
}

.cmo-image-option img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: 0 auto 8px;
}

.cmo-image-option-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    word-wrap: break-word;
    margin-top: 8px;
}

/* Кнопка відправки */
.cmo-form-actions {
    margin-top: 30px;
    text-align: center;
}

.cmo-submit-btn {
    padding: 15px 40px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cmo-submit-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.cmo-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Повідомлення */
.cmo-form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
}

.cmo-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cmo-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Адаптивність */
@media (max-width: 768px) {
    .cmo-order-form {
        padding: 20px;
    }

    .cmo-lang-switcher {
        flex-direction: column;
    }

    .cmo-lang-btn {
        width: 100%;
    }

    .cmo-image-options {
        justify-content: center;
    }

    .cmo-submit-btn {
        width: 100%;
    }
}

/* Завантаження */
.cmo-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.cmo-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: cmo-spin 1s linear infinite;
}

@keyframes cmo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Приховані форми */
.cmo-lang-form {
    transition: opacity 0.3s;
}

.cmo-lang-form:not(.active) {
    display: none;
}
