:root { --m-primary: #10b981; --m-bg: #fff; --m-bg-light: color-mix(in srgb, var(--m-primary) 5%, transparent); --m-border: #f0f0f0; --m-text-dark: #222; --m-text-gray: #777; --m-radius: 16px; --m-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.03); --m-yellow: #f1c00d; --m-blue: #0d59f1; } .maralarc-donate-wrapper { margin: 0 auto; direction: rtl; font-family: inherit; position: relative; } .m-donate-box { background: var(--m-bg); border-radius: var(--m-radius); padding: 24px; box-shadow: 0px 1px 2px 0px #0000000d; border: 1px solid var(--m-border); position: relative; overflow: hidden; } .m-title { font-size: 22px; font-weight: 700; color: var(--m-text-dark); margin: 0 0 10px 0; } .m-desc { font-size: 14px; color: var(--m-text-gray); margin-bottom: 25px; line-height: 1.6; } .m-presets { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; } .m-preset-btn { flex: 1; min-width: 100px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid var(--m-border); padding: 12px; border-radius: 12px; cursor: pointer; transition: border 0.2s, background 0.2s; color: var(--m-text-dark); font-weight: 600; font-family: inherit; outline: none; } .m-preset-btn.active { border-color: var(--m-yellow)!important; background: var(--m-yellow)!important; color: #fff!important; } .m-preset-btn.active svg { color: #fff; } .m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } @media (max-width: 600px) { .m-row { grid-template-columns: 1fr; } } .m-input-group { margin-bottom: 20px; text-align: right; } .m-input-group label { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--m-text-dark); margin-bottom: 8px; } .m-req-label { font-size: 10px; color: #ef4444; background: #fff0f0; padding: 2px 6px 4px 5px; border-radius: 4px; font-weight: normal; margin-bottom: 3px; } span.m-opt-label { font-size: 10px; color: #6b7280; background: #f3f4f6; padding: 2px 6px 4px 5px; border-radius: 4px; font-weight: normal; margin-bottom: 3px; } .m-amount-wrapper { position: relative; } .m-amount-wrapper input { width: 100%; padding: 15px 20px; font-size: 18px; font-weight: 700; border: 2px solid var(--m-border); border-radius: 14px; background: #fafafa; transition: box-shadow 0.3s, border-color 0.3s; outline: none; font-family: inherit; text-align: left; direction: ltr; padding-right: 110px; } .m-amount-wrapper input:focus { border-color: var(--m-yellow); background: #fff; box-shadow: 0 0 0 4px rgba(241, 192, 13, 0.1); } .m-amount-wrapper input.m-error { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); } .m-currency-badge { position: absolute; right: 5px; top: 5px; bottom: 5px; background: #fff; border-radius: 10px; padding: 0 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #464646; border: 1px solid var(--m-border); } .m-icon-input { position: relative; } .m-icon-input svg { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--m-text-gray); } .m-icon-input.align-top svg { top: 15px; transform: none; } .m-icon-input input, .m-icon-input textarea { width: 100%; padding: 14px 15px 14px 15px; padding-right: 45px; font-size: 14px; border: 1px solid var(--m-border); border-radius: 12px; background: #fafafa; transition: box-shadow 0.3s; outline: none; font-family: inherit; resize: none; } .m-icon-input input:focus, .m-icon-input textarea:focus { border-color: var(--m-yellow); background: #fff; box-shadow: 0 0 0 4px rgba(241, 192, 13, 0.1); } .m-terms { margin: 20px 0; } .m-checkbox { display: flex; align-items: center; gap: 6px; cursor: pointer; position: relative; } .m-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } .m-check-mark { width: 22px; height: 22px; background: #eee; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s; margin-top: 2px; } .m-checkbox input:checked ~ .m-check-mark { background: var(--m-primary); } .m-check-mark:after { content: ""; display: none; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-bottom: 2px; } .m-checkbox input:checked ~ .m-check-mark:after { display: block; } .m-terms-text { font-size: 11.5px; line-height: 1.8; color: #8389A9; text-align: justify; margin-top: 4px; } .m-total-display { text-align: center; font-size: 16px; color: #455067; margin-bottom: 20px; } .m-total-display strong { font-size: 24px; color: #FFB900; margin: 0 5px; font-weight: 800!important; } .m-submit-btn { width: 100%; height: 56px; background: var(--m-yellow); color: #fff; border: none; border-radius: 14px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; position: relative; outline: none; transition: all 0.3s; } .m-submit-btn:hover { background: #f1c00d !important; box-shadow: 0px 10px 35px -20px #f1c00d!Important; color: #ffffffe6!important; } .m-submit-btn:disabled { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; box-shadow: none !important; } .m-submit-btn:disabled:hover { background: #e5e7eb!important; color: #9ca3af!important; box-shadow: 0 0 0 transparent !important; } .m-toast { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); background: #ef4444; color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 25px -5px rgba(239,68,68,0.4); opacity: 0; visibility: hidden; transition: 0.3s ease-out; z-index: 10; pointer-events: none; white-space: nowrap; } .m-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); } .m-goal-box { display: flex; align-items: center; justify-content: space-between; border-color: var(--m-primary); background: linear-gradient(120deg, #ffffff 0%, var(--m-bg-light) 100%); } @media (max-width: 500px) { .m-goal-box { flex-direction: column; text-align: center; gap: 25px; } } .m-goal-info h4 { margin: 0 0 5px 0; font-size: 20px; color: var(--m-text-dark); font-weight: bold; } .m-goal-subtitle { font-size: 13px; color: var(--m-text-gray); margin: 0 0 15px 0; } .m-goal-stats { font-size: 14px; color: var(--m-text-gray); display: flex; align-items: baseline; gap: 6px; } @media (max-width: 500px) { .m-goal-stats { justify-content: center; } } .m-goal-current { font-size: 24px; font-weight: bold; color: var(--m-primary); } .m-goal-sep { font-size: 12px; } .m-goal-total { font-size: 16px; font-weight: bold; color: var(--m-text-dark); } .m-liquid-heart { width: 100px; height: 100px; position: relative; display: block; } .m-heart-shape { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #e5e7eb; display: block; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.62 20.81C12.28 20.93 11.72 20.93 11.38 20.81C8.48 19.82 2 15.69 2 8.68998C2 5.59998 4.49 3.09998 7.56 3.09998C9.38 3.09998 10.99 3.97998 12 5.33998C13.01 3.97998 14.63 3.09998 16.44 3.09998C19.51 3.09998 22 5.59998 22 8.68998C22 15.69 15.52 19.82 12.62 20.81Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.62 20.81C12.28 20.93 11.72 20.93 11.38 20.81C8.48 19.82 2 15.69 2 8.68998C2 5.59998 4.49 3.09998 7.56 3.09998C9.38 3.09998 10.99 3.97998 12 5.33998C13.01 3.97998 14.63 3.09998 16.44 3.09998C19.51 3.09998 22 5.59998 22 8.68998C22 15.69 15.52 19.82 12.62 20.81Z'/%3E%3C/svg%3E"); mask-size: contain; mask-repeat: no-repeat; mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; overflow: hidden; } .m-wave-container { position: absolute; width: 250px; height: 250px; left: 50%; transform: translateX(-50%); background: var(--m-primary); transition: top 1.5s ease-in-out; } .m-wave-container::before, .m-wave-container::after { content: ""; position: absolute; width: 250px; height: 250px; top: -235px; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.4); border-radius: 40%; animation: m-spin 6s linear infinite; } .m-wave-container::after { background: #e5e7eb; border-radius: 45%; animation: m-spin 10s linear infinite; top: -242px; } @keyframes m-spin { 100% { transform: translateX(-50%) rotate(360deg); } } .m-heart-text { position: absolute; top: 48%; left: 50%; transform: translate(-50%, -50%); font-size: 16px; font-weight: bold; color: #555; z-index: 2; pointer-events: none; } .m-heart-text.is-white { color: #fff; } .m-blue-icon svg { color: var(--m-blue) !important; } .m-box-title { display: flex; align-items: center; gap: 8px; margin: 0 0 20px 0; font-size: 18px; color: var(--m-text-dark); font-weight: bold; } .m-donors-list { display: flex; flex-direction: column; gap: 15px; padding-left: 5px; } .m-donors-recent-list { max-height: 310px; overflow-y: auto; } .m-donors-top-list { max-height: 750px; overflow-y: auto; } .m-donors-list::-webkit-scrollbar { width: 4px; } .m-donors-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; } .m-donors-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; } .m-donor-item { padding-bottom: 15px; border-bottom: 1px dashed var(--m-border); } .m-donor-item:last-child { border-bottom: none; padding-bottom: 0; } .m-donor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; gap: 10px; } .m-donor-name { font-size: 14px; font-weight: 600; color: var(--m-text-dark); } .m-amount-large { font-size: 14px; font-weight: 700; color: var(--m-primary); background: var(--m-bg-light); padding: 5px 10px; border-radius: 8px; white-space: nowrap; } .m-donor-phone { font-size: 13px; color: #9ca3af; display: inline-block; margin-bottom: 5px; font-family: monospace; letter-spacing: 1px; text-align: left; } .m-donor-msg { font-size: 13px; color: var(--m-text-gray); margin: 0; line-height: 1.6; } .m-rank-badge { width: 32px; height: 32px; background: #eee; color: #777; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; margin-top:2px; } .m-rank-1 .m-rank-badge { background: #FFD700; color: #fff; box-shadow: 0 4px 10px -2px rgba(255, 215, 0, 0.5); } .m-rank-2 .m-rank-badge { background: #C0C0C0; color: #fff; box-shadow: 0 4px 10px -2px rgba(192, 192, 192, 0.5); } .m-rank-3 .m-rank-badge { background: #CD7F32; color: #fff; box-shadow: 0 4px 10px -2px rgba(205, 127, 50, 0.5); } .m-loader { display: none; gap: 4px; } .m-submit-btn.loading .m-btn-text, .m-submit-btn.loading svg { display: none; } .m-submit-btn.loading .m-loader { display: flex; } .m-loader span { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: m-bounce 0.6s infinite alternate; } .m-loader span:nth-child(2) { animation-delay: 0.2s; } .m-loader span:nth-child(3) { animation-delay: 0.4s; } @keyframes m-bounce { to { transform: translateY(-4px); opacity: 0.5; } } .m-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; z-index: 99999; direction: rtl; font-family: inherit; backdrop-filter: blur(5px); } .m-modal-box { background: #fff; width: 100%; max-width: 500px; padding: 40px 35px; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); text-align: center; margin: 20px; position: relative; animation: m-modal-pop 0.3s ease-out; } @keyframes m-modal-pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } .m-success-icon { width: 70px; height: 70px; background: #10b981; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 10px 20px -5px rgba(16,185,129,0.4); } .m-modal-title { color: #111827; font-size: 22px; font-weight: bold; margin-bottom: 10px; } .m-modal-desc { color: #6b7280; font-size: 14px; margin-bottom: 25px; line-height: 1.6; } .m-details-box { background: #f9fafb; border-radius: 16px; padding: 20px; text-align: right; margin-bottom: 20px; border: 1px solid #e5e7eb; } .m-detail-item { display: flex; justify-content: space-between; border-bottom: 1px dashed #d1d5db; padding: 10px 0; font-size: 14px; } .m-detail-item:last-child { border-bottom: none; padding-bottom: 0; } .m-detail-label { color: #6b7280; } .m-detail-val { color: #111827; font-weight: bold; } .m-msg-fancy { background: #fdfaf3; border-right: 4px solid #f1c00d; padding: 15px 20px; border-radius: 12px 0 0 12px; text-align: right; margin-bottom: 25px; position: relative; } .m-msg-quote { position: absolute; top: 10px; left: 15px; font-size: 40px; color: #f1c00d; opacity: 0.2; font-family: serif; line-height: 1; } .m-msg-content { color: #4b5563; font-size: 13px; line-height: 1.7; position: relative; z-index: 1; } .m-msg-content strong { color: #111827; font-size: 12px; display: block; margin-bottom: 5px; opacity: 0.7; } .m-btn-primary { background: #f1c00d; color: #fff; box-shadow: 0 10px 25px -10px #f1c00d; padding: 16px; border-radius: 14px; text-decoration: none; font-weight: bold; font-size: 16px; display: block; width: 100%; transition: 0.3s; border: none; cursor: pointer; font-family: inherit; outline: none; } .m-btn-primary:hover { background: #dfb006!important; box-shadow: 0 15px 30px -10px #f1c00d!important; transform: translateY(-2px)!important; } .m-btn-primary:hover { color: #ffffffde!important; background: #f1c00d!important; } .m-modal-box { padding: 40px 25px; } @media only screen and (max-width: 450px) { .m-modal-title { font-size: 20px; } .m-modal-box { padding: 28px 20px; } } @media only screen and (max-width: 500px) { .m-donate-box { padding: 20px 15px; } }