@font-face { font-family: "Danidin"; src: url("https://meir-hashahar.org.il/wp-content/uploads/2024/09/Danidin-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Danidin"; src: url("https://meir-hashahar.org.il/wp-content/uploads/2024/09/Danidin-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Danidin"; src: url("https://meir-hashahar.org.il/wp-content/uploads/2024/09/Danidin-Black.ttf") format("truetype"); font-style: normal; font-weight: 900; font-display: swap; }
.mhgw-receipts { direction: rtl; color: #173d3a; font-family: "Danidin", Arial, sans-serif; }
.mhgw-receipts :is(h1, h2, h3, p, label, small, span, input, select, textarea), .mhgw-receipts button { font-family: "Danidin", Arial, sans-serif !important; }
.mhgw-receipt-app, .mhgw-receipts .mhgw-receipt-settings { box-sizing: border-box; width: 100%; max-width: 580px; margin: 32px auto; padding: clamp(24px, 5vw, 42px); background: #fff; border: 1px solid #d8e7e2; border-top: 5px solid #c9a34b; border-radius: 20px; box-shadow: 0 20px 65px #075d5d12; }
.mhgw-receipts .mhgw-receipt-settings { margin-right: 0; }
.mhgw-receipts h2 { margin: 0 0 12px; color: #075d5d; font-family: inherit; font-size: clamp(25px, 4vw, 32px); line-height: 1.3; }
.mhgw-receipts p { line-height: 1.7; color: #59716d; overflow-wrap: anywhere; }
.mhgw-receipt-kicker { color: #987b35; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.mhgw-receipts label { display: block; color: #264e48; font-size: 15px; font-weight: 700; margin: 18px 0; }
.mhgw-receipts label small { color: #788b86; font-weight: 400; font-size: 12px; }
.mhgw-receipt-settings label > small { display: block; margin-top: 8px; line-height: 1.6; }
.mhgw-receipt-settings label > .mhgw-secret-status { padding: 7px 10px; border-radius: 6px; font-weight: 700; }
.mhgw-receipt-settings .mhgw-secret-status.is-saved { background: #e6f5eb; color: #146b3a; }
.mhgw-receipt-settings .mhgw-secret-status.is-empty, .mhgw-receipt-settings .mhgw-secret-status.is-pending { background: #fff4dc; color: #845f13; }
.mhgw-receipt-settings .mhgw-receipt-notice.is-success { padding: 12px; border-radius: 8px; background: #e6f5eb; color: #146b3a; }
.mhgw-receipt-settings .mhgw-receipt-notice.is-error { padding: 12px; border-radius: 8px; background: #fff0ed; color: #9c3023; }
.mhgw-receipts input, .mhgw-receipts select { box-sizing: border-box; width: 100%; min-height: 49px; margin: 8px 0 0; padding: 10px 14px; border: 1px solid #c6dcd4; border-radius: 10px; background: #f8fbfa; color: #173d3a; font: inherit; }
.mhgw-receipts input:focus, .mhgw-receipts select:focus { border-color: #087270; outline: 2px solid #08727033; outline-offset: 2px; }
.mhgw-receipts textarea { display: block; box-sizing: border-box; width: 100%; height: calc(3em + 22px); min-height: calc(3em + 22px); margin: 8px 0 0; padding: 10px 14px; border: 1px solid #c6dcd4; border-radius: 10px; background: #f8fbfa; color: #173d3a; font-size: inherit; line-height: 1.5; resize: vertical; }
.mhgw-receipts textarea:focus { border-color: #087270; outline: 2px solid #08727033; outline-offset: 2px; }
.mhgw-receipts input[type="tel"], .mhgw-receipts input[type="email"], .mhgw-receipt-settings input[type="password"] { direction: ltr; text-align: right; }
.mhgw-receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mhgw-receipt-grid label { min-width: 0; margin-bottom: 0; }
.mhgw-receipts .mhgw-payment-methods { box-sizing: border-box; width: 100%; min-width: 0; margin: 24px 0; padding: 0; border: 0; }
.mhgw-receipts .mhgw-payment-methods legend { margin-bottom: 12px; padding: 0; color: #173d3a; font-family: "Danidin", Arial, sans-serif; font-size: 20px; font-weight: 700; }
.mhgw-payment-options { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
.mhgw-receipts label.mhgw-payment-option { display: flex; align-items: center; gap: 14px; box-sizing: border-box; width: 100%; min-height: 66px; margin: 0; padding: 16px 18px; border: 2px solid #d5e4de; border-radius: 12px; background: #f8fbfa; color: #264e48; font-size: 19px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.mhgw-receipts label.mhgw-payment-option:hover { background: #eef5f1; border-color: #8cb5a6; }
.mhgw-receipts label.mhgw-payment-option.is-selected { background: #fff8e7; border-color: #b38c35; color: #075d5d; box-shadow: 0 0 0 1px #b38c3520; }
.mhgw-receipts label.mhgw-payment-option:focus-within { outline: 3px solid #08727055; outline-offset: 3px; }
.mhgw-receipts .mhgw-payment-option input[type="radio"] { appearance: none; -webkit-appearance: none; flex: 0 0 24px; width: 24px; height: 24px; min-height: 24px; margin: 0; padding: 0; border: 2px solid #9bb8ad; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: none; }
.mhgw-receipts .mhgw-payment-option input[type="radio"]:checked { border-color: #087270; background: #087270; box-shadow: inset 0 0 0 5px #fff; }
.mhgw-receipts .mhgw-payment-option input[type="radio"]::before { content: none; }
.mhgw-payment-option .mhgw-receipt-icon { width: 28px; height: 28px; }
.mhgw-transfer-reference { padding: 0 16px; border: 1px solid #dfce9f; border-radius: 12px; background: #fffbf1; }
.mhgw-transfer-reference[hidden] { display: none; }
.mhgw-receipt-app button, .wp-core-ui .mhgw-receipts button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; box-sizing: border-box; padding: 12px 20px; border: 1px solid #075d5d; border-radius: 10px; background: #075d5d; color: #fff; font: inherit; font-weight: 700; line-height: 1.4; cursor: pointer; transition: background .2s, box-shadow .2s; }
.mhgw-receipt-app button:hover, .wp-core-ui .mhgw-receipts button:hover { background: #064847; color: #fff; }
.mhgw-receipt-app button:focus, .wp-core-ui .mhgw-receipts button:focus { background: #064847; color: #fff; outline: 2px solid #c9a34b; outline-offset: 3px; box-shadow: none; }
.mhgw-receipt-app button:disabled, .wp-core-ui .mhgw-receipts button:disabled { cursor: wait; opacity: .65; }
.mhgw-receipt-app button[type="submit"] { width: 100%; margin-top: 12px; }
.mhgw-receipt-app button.mhgw-receipt-secondary { background: #f5f9f7; color: #075d5d; border-color: #d4e4dd; }
.mhgw-receipt-app button.mhgw-receipt-secondary:hover, .mhgw-receipt-app button.mhgw-receipt-secondary:focus { background: #e7f1ed; color: #064847; }
.mhgw-receipt-app button.mhgw-receipt-whatsapp { background: #158046; color: #fff; border-color: #158046; }
.mhgw-receipt-app button.mhgw-receipt-whatsapp:hover, .mhgw-receipt-app button.mhgw-receipt-whatsapp:focus { background: #0d6535; color: #fff; }
.mhgw-receipt-actions { display: grid; gap: 10px; margin-top: 24px; }
.mhgw-receipt-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e2ece7; }
.mhgw-receipt-success-mark { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: #e6f5eb; color: #158046; }
.mhgw-receipt-icon { display: inline-block; flex-shrink: 0; width: 22px; height: 22px; vertical-align: middle; }
.mhgw-receipt-success-mark .mhgw-receipt-icon { width: 56px; height: 56px; }
.mhgw-receipt-notice { font-size: 14px; font-weight: 700; }
.mhgw-receipt-spinner { display: inline-flex; animation: mhgw-receipt-spin .7s linear infinite; }
.mhgw-receipt-enter { animation: mhgw-receipt-reveal .3s ease both; }
@keyframes mhgw-receipt-spin { to { transform: rotate(360deg); } }
@keyframes mhgw-receipt-reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .mhgw-receipt-grid { grid-template-columns: 1fr; gap: 0; } .mhgw-receipt-app { margin: 16px auto; } }
@media (prefers-reduced-motion: reduce) { .mhgw-receipt-enter { animation: none; } }
