/* =====================================================
   Flowers4u Contact Form — contact.css
   ===================================================== */

/* ---------- Wrap & Card ---------- */
.f4u-contact-wrap {
    direction: rtl;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 40px 16px;
}

.f4u-contact-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(192, 98, 122, 0.13);
    max-width: 680px;
    margin: 0 auto;
    overflow: hidden;
}

/* ---------- Header ---------- */
.f4u-contact-header {
    background: linear-gradient(135deg, #c0627a 0%, #e89db0 60%, #f7d6df 100%);
    text-align: center;
    padding: 40px 24px 32px;
    color: #fff;
}

.f4u-flower-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    animation: f4u-float 3s ease-in-out infinite;
}

@keyframes f4u-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.f4u-contact-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.f4u-contact-subtitle {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

/* ---------- Form ---------- */
.f4u-contact-form {
    padding: 36px 40px 40px;
}

@media (max-width: 520px) {
    .f4u-contact-form { padding: 24px 20px 28px; }
}

/* ---------- Row (two columns) ---------- */
.f4u-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

@media (max-width: 520px) {
    .f4u-fields-row { grid-template-columns: 1fr; }
}

/* ---------- Field Group ---------- */
.f4u-field-group {
    margin-bottom: 22px;
}

.f4u-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5a3a44;
    margin-bottom: 6px;
}

.f4u-req {
    color: #c0627a;
}

/* ---------- Input ---------- */
.f4u-input-wrap {
    position: relative;
}

.f4u-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #c0627a;
    pointer-events: none;
}

.f4u-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 40px 11px 14px;
    border: 1.5px solid #e8c5ce;
    border-radius: 10px;
    font-size: 14px;
    color: #3d2530;
    background: #fdf8f9;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
    direction: rtl;
}

.f4u-input:focus {
    border-color: #c0627a;
    box-shadow: 0 0 0 3px rgba(192, 98, 122, 0.12);
    background: #fff;
}

.f4u-input.f4u-invalid {
    border-color: #e05260;
    box-shadow: 0 0 0 3px rgba(224, 82, 96, 0.1);
}

/* ---------- Textarea ---------- */
.f4u-textarea-wrap {
    position: relative;
}

.f4u-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #e8c5ce;
    border-radius: 10px;
    font-size: 14px;
    color: #3d2530;
    background: #fdf8f9;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    direction: rtl;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.f4u-textarea:focus {
    border-color: #c0627a;
    box-shadow: 0 0 0 3px rgba(192, 98, 122, 0.12);
    background: #fff;
}

.f4u-textarea.f4u-invalid {
    border-color: #e05260;
    box-shadow: 0 0 0 3px rgba(224, 82, 96, 0.1);
}

/* ---------- Inline error ---------- */
.f4u-error {
    display: block;
    font-size: 12px;
    color: #e05260;
    margin-top: 4px;
    min-height: 16px;
}

/* ---------- Submit button ---------- */
.f4u-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #c0627a, #e08da0);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 44px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    box-shadow: 0 4px 16px rgba(192, 98, 122, 0.35);
    font-family: inherit;
    width: 100%;
    margin-top: 6px;
}

.f4u-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 98, 122, 0.45);
    background: linear-gradient(135deg, #b35570, #d97f95);
}

.f4u-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.f4u-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---------- Spinner ---------- */
.f4u-spinner {
    width: 18px;
    height: 18px;
    animation: f4u-spin 0.8s linear infinite;
}

@keyframes f4u-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Notices ---------- */
.f4u-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
}

.f4u-notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.f4u-success {
    background: #edfaf3;
    color: #1e7a4b;
    border: 1.5px solid #a3e4c1;
}

.f4u-fail {
    background: #fef2f2;
    color: #b91c1c;
    border: 1.5px solid #fca5a5;
}
