/* تصميم الفورم الجديد - مستوحى من واتساب */
.oco-form-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px 25px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.oco-message {
    padding: 14px 18px;
    margin: 0 0 20px;
    border-radius: 12px;
    font-weight: 500;
    animation: slideDown 0.4s ease;
}
.oco-message.success {
    background: #e6f9ed;
    color: #075e54;
    border-right: 6px solid #25D366;
}
.oco-message.error {
    background: #fde7e7;
    color: #b91c1c;
    border-right: 6px solid #dc3545;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.oco-field {
    margin-bottom: 22px;
    position: relative;
}
.oco-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.oco-field label::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #25D366;
    border-radius: 50%;
    margin-right: 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.oco-field label.required::after {
    opacity: 1;
}
.oco-field input,
.oco-field textarea,
.oco-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9edf0;
    border-radius: 14px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.25s ease;
    box-sizing: border-box;
    color: #1a1a1a;
    font-family: inherit;
}
.oco-field input:focus,
.oco-field textarea:focus,
.oco-field select:focus {
    border-color: #25D366;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
    outline: none;
}
.oco-field textarea {
    min-height: 120px;
    resize: vertical;
}
.oco-field input[type="file"] {
    padding: 12px;
    background: #f5f7fa;
    border: 2px dashed #d0d7de;
    border-radius: 14px;
    cursor: pointer;
}
.oco-field input[type="file"]:hover {
    border-color: #25D366;
    background: #f0faf5;
}
.oco-field small {
    display: block;
    margin-top: 6px;
    color: #6b7a88;
    font-size: 13px;
}
.oco-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7a88'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

/* زر الإرسال */
.oco-field button {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    letter-spacing: 0.5px;
}
.oco-field button:hover {
    background: #1da855;
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.oco-field button:active {
    transform: scale(0.98);
}
.oco-field button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.btn-spinner {
    font-weight: 500;
}

/* حركات إضافية عند التركيز */
.oco-field input:focus + .oco-field label,
.oco-field textarea:focus + .oco-field label {
    color: #25D366;
}

/* استجابة للهواتف */
@media (max-width: 600px) {
    .oco-form-container {
        padding: 20px 16px;
        margin: 15px 10px;
        border-radius: 18px;
    }
    .oco-field input,
    .oco-field textarea,
    .oco-field select {
        font-size: 15px;
        padding: 10px 14px;
    }
    .oco-field button {
        font-size: 16px;
        padding: 12px;
    }
}