/* Styles for send_form_service.php; loaded only at the original inclusion point. */
body {
        font-family: "Heebo", sans-serif;
        background: radial-gradient(circle at top, #dbeafe 0, #eef2ff 35%, #e5e7eb 100%);
        margin: 0;
    }

    .page-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .form-card {
    background: var(--ess-color-surface, #fff);
    border-radius: 26px;
    max-width: 480px;
    width: 90%;
    padding: 22px 20px 18px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.18);
    border: 1px solid rgba(148,163,184,0.18);
    position: relative;
    box-sizing: border-box;
    overflow: hidden; /* כדי שהקו העליון יכבד את עיגול הפינות */
}

.form-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6); /* כחול בלבד */
    border-radius: 26px 26px 0 0; /* קו בצמוד לעיגול הפינות */
}

/* לוגו – גרדיאנט כחול חלק */
.form-logo {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.form-header {
    text-align: center;
    margin-bottom: 16px;
}

/* תמונת הלוגו – בלי רקע לבן */
.form-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 0; /* אפשר להשאיר גם border-radius:50% אם תרצה */
    background: transparent; /* לא חובה, רק לוודאות */
}

    .field-group {
        margin-bottom: 12px;
    }

    label {
        font-size: 13px;
        color: #374151;
        display: block;
        margin-bottom: 4px;
    }

    .field-inner {
        position: relative;
    }

    .field-inner i {
        position: absolute;
        right: 10px;      /* RTL: אייקון בצד ימין */
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 13px;
        pointer-events: none;
    }

    input,
    select,
    textarea {
        width: 100%;
        box-sizing: border-box;       /* מונע חריגה מהרוחב */
        padding: 10px 36px 10px 10px; /* מקום לאייקון בצד ימין */
        font-size: 14px;
        border-radius: var(--ess-radius-sm, 12px);
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        outline: none;
        transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--ess-color-primary, #2563eb);
        box-shadow: 0 0 0 2px rgba(37,99,235,0.18);
        background: var(--ess-color-surface, #fff);
    }

    textarea {
        resize: vertical;
        min-height: 80px;
    }

    .field-error input,
    .field-error select,
    .field-error textarea {
        border-color: #ef4444;
        box-shadow: 0 0 0 1px rgba(239,68,68,.3);
        background: #fef2f2;
    }

    .btn-submit {
        width: 100%;
        padding: 12px;
        border-radius: 999px;
        border: none;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        color: var(--ess-color-surface, #fff);
        background: linear-gradient(135deg, var(--ess-color-success, #16a34a), #22c55e);
        box-shadow: 0 10px 24px rgba(16,185,129,0.35);
        transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
        margin-top: 4px;
    }

    .btn-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(16,185,129,0.45);
        filter: brightness(1.03);
    }

    .btn-submit:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 6px 16px rgba(16,185,129,0.3);
    }

    /* טיפה רספונסיביות */
    @media (max-width: 480px) {
        .page-wrapper {
            padding: 0;
            align-items: stretch;
        }

        .form-card {
            border-radius: 0;
            max-width: 100%;
            min-height: 100vh;
        }
    }
    
    .swal-toast-rtl {
    direction: rtl !important;
    text-align: right !important;
    padding: 12px 16px !important;
    border-radius: var(--ess-radius-md, 14px) !important;
    background: #ecfdf5 !important; /* ירקרק עדין */
    box-shadow: 0 6px 22px rgba(0,0,0,0.12) !important;
}

.swal-toast-rtl .swal2-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #065f46 !important;
    margin: 0 0 4px 0 !important;
}

.swal-toast-rtl .swal2-html-container {
    font-size: 13px !important;
    color: #047857 !important;
    margin: 0 !important;
}
