/* Ibrahim Global Forms Style — Fluent Forms */

:root {
    --igfs-navy: #071629;
    --igfs-field: #0b182a;
    --igfs-text: #f5f7fa;
    --igfs-muted-border: rgba(132, 149, 170, 0.45);
    --igfs-panel-border: rgba(132, 149, 170, 0.35);
    --igfs-accent: #f58220;
}

body .fluentform {
    direction: rtl;
}

body .fluentform form.frm-fluent-form {
    padding: 34px !important;
    background: var(--igfs-navy) !important;
    border: 1px solid var(--igfs-panel-border) !important;
    border-radius: 32px !important;
}

body .fluentform form.frm-fluent-form .ff-el-group {
    margin-bottom: 18px !important;
}

body .fluentform form.frm-fluent-form .ff-t-container {
    gap: 16px !important;
}

body .fluentform form.frm-fluent-form .ff-el-input--label {
    display: block !important;
    margin-bottom: 10px !important;
}

body .fluentform form.frm-fluent-form .ff-el-input--label label,
body .fluentform form.frm-fluent-form label.ff-el-form-label {
    color: var(--igfs-text) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

body .fluentform form.frm-fluent-form .ff-el-form-control,
body .fluentform form.frm-fluent-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .fluentform form.frm-fluent-form select,
body .fluentform form.frm-fluent-form textarea {
    width: 100% !important;
    min-height: 64px !important;
    padding: 0 22px !important;
    color: var(--igfs-text) !important;
    -webkit-text-fill-color: var(--igfs-text) !important;
    background: var(--igfs-field) !important;
    border: 1px solid var(--igfs-muted-border) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    text-align: right !important;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;
}

body .fluentform form.frm-fluent-form textarea.ff-el-form-control,
body .fluentform form.frm-fluent-form textarea {
    min-height: 170px !important;
    padding: 18px 22px !important;
    resize: vertical;
}

body .fluentform form.frm-fluent-form .ff-el-form-control:focus,
body .fluentform form.frm-fluent-form input:focus,
body .fluentform form.frm-fluent-form select:focus,
body .fluentform form.frm-fluent-form textarea:focus {
    outline: none !important;
    border-color: var(--igfs-accent) !important;
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.12) !important;
}

body .fluentform form.frm-fluent-form input::placeholder,
body .fluentform form.frm-fluent-form textarea::placeholder {
    color: rgba(245, 247, 250, 0.55) !important;
    -webkit-text-fill-color: rgba(245, 247, 250, 0.55) !important;
    opacity: 1 !important;
}

body .fluentform form.frm-fluent-form select option {
    color: #111827;
    background: #ffffff;
}

body .fluentform form.frm-fluent-form .ff-btn-submit,
body .fluentform form.frm-fluent-form button[type="submit"],
body .fluentform form.frm-fluent-form input[type="submit"] {
    width: 100% !important;
    min-height: 70px !important;
    padding: 16px 28px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(245, 130, 32, 0.06) !important;
    border: 1px solid var(--igfs-accent) !important;
    border-radius: 14px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body .fluentform form.frm-fluent-form .ff-btn-submit:hover,
body .fluentform form.frm-fluent-form button[type="submit"]:hover,
body .fluentform form.frm-fluent-form input[type="submit"]:hover {
    background: var(--igfs-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 130, 32, 0.22) !important;
}

body .fluentform form.frm-fluent-form .ff-el-is-error .text-danger,
body .fluentform form.frm-fluent-form .error.text-danger {
    color: #ff7a7a !important;
}

body .fluentform form.frm-fluent-form .ff-message-success {
    color: var(--igfs-text) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--igfs-panel-border) !important;
    border-radius: 14px !important;
}

@media (max-width: 767px) {
    body .fluentform form.frm-fluent-form {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    body .fluentform form.frm-fluent-form .ff-t-container {
        display: block !important;
    }

    body .fluentform form.frm-fluent-form .ff-t-cell {
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    body .fluentform form.frm-fluent-form .ff-el-form-control,
    body .fluentform form.frm-fluent-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body .fluentform form.frm-fluent-form select,
    body .fluentform form.frm-fluent-form textarea {
        min-height: 58px !important;
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    body .fluentform form.frm-fluent-form textarea.ff-el-form-control,
    body .fluentform form.frm-fluent-form textarea {
        min-height: 150px !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
}
