@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;700;800;900&display=swap");
.raf-page {
direction: rtl;
min-height: 60vh;
padding: 32px 16px;
color: #17202a;
font-family: "Cairo", Tahoma, Arial, sans-serif;
}
.raf-terms-link {
color: #0b63d1;
font-weight: 900;
text-decoration: none;
}
.raf-terms-link:hover {
text-decoration: underline;
}
.raf-terms-panel {
overflow: hidden;
}
.raf-terms-content {
color: #172033;
font-size: 15px;
line-height: 1.9;
overflow-wrap: anywhere;
}
.raf-terms-content h1 {
margin: 0 0 18px;
color: #0b63d1;
font-size: 26px;
line-height: 1.35;
}
.raf-terms-content h2 {
margin: 24px 0 10px;
color: #082b5d;
font-size: 19px;
line-height: 1.45;
}
.raf-terms-content h3 {
margin: 18px 0 8px;
color: #16467f;
font-size: 16px;
}
.raf-terms-content p {
margin: 0 0 12px;
}
.raf-terms-content ul,
.raf-terms-content ol {
margin: 12px 0;
padding-inline-start: 24px;
}
.raf-terms-content li {
margin-bottom: 8px;
}
.raf-terms-content table {
width: 100%;
margin: 18px 0;
border-collapse: collapse;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 0 0 1px #dbeafe;
}
.raf-terms-content th,
.raf-terms-content td {
padding: 11px 12px;
border: 1px solid #dbeafe;
text-align: right;
vertical-align: top;
}
.raf-terms-content th {
background: #0b63d1;
color: #fff;
font-weight: 900;
}
.raf-terms-standalone-body .raf-page {
min-height: 100vh;
align-items: flex-start;
padding-top: 34px;
padding-bottom: 34px;
}
@media (max-width: 640px) {
.raf-program-hero {
padding: 8px 8px 0;
}
.raf-program-hero img {
width: 185%;
max-width: none;
margin-inline-start: -62%;
border-radius: 0 0 14px 14px;
}
.raf-program-hero-actions {
position: static;
width: calc(100% - 20px);
margin: 12px auto 0;
display: grid;
grid-template-columns: 1fr;
}
.raf-program-primary,
.raf-program-secondary {
width: 100%;
box-sizing: border-box;
}
.raf-program-section,
.raf-program-features,
.raf-program-cta {
width: calc(100% - 20px);
margin-top: 16px;
}
.raf-program-section {
padding: 18px;
border-radius: 12px;
}
.raf-program-intro {
text-align: right;
}
.raf-program-section p,
.raf-program-cta p {
font-size: 15px;
}
.raf-program-features,
.raf-program-steps,
.raf-program-faq-grid {
grid-template-columns: 1fr;
}
.raf-program-features article {
padding: 16px;
}
.raf-program-steps li {
padding: 16px 58px 16px 16px;
}
.raf-program-cta {
display: grid;
padding: 20px;
margin-bottom: 20px;
}
.raf-otp-boxes {
grid-template-columns: repeat(4, minmax(42px, 58px));
gap: 6px;
}
.raf-otp-boxes input,
.raf-otp-modal-box .raf-otp-boxes input {
min-height: 46px;
font-size: 20px;
}
.raf-terms-content table {
display: block;
overflow-x: auto;
white-space: nowrap;
}
.raf-terms-content {
font-size: 14px;
}
.raf-terms-content h1 {
font-size: 22px;
}
}
.raf-standalone-body {
margin: 0;
min-height: 100vh;
background: #f4f8ff;
font-family: "Cairo", Tahoma, Arial, sans-serif;
}
.raf-program-standalone-body {
background: #f4f8ff;
}
.raf-program-page {
direction: rtl;
color: #08244a;
font-family: "Cairo", Tahoma, Arial, sans-serif;
background:
linear-gradient(180deg, #f7fbff 0%, #edf5ff 50%, #f7fbff 100%);
min-height: 100vh;
overflow: hidden;
}
.raf-program-hero {
position: relative;
max-width: 1480px;
margin: 0 auto;
padding: 18px 18px 0;
}
.raf-program-hero img {
display: block;
width: 100%;
border-radius: 0 0 18px 18px;
box-shadow: 0 22px 60px rgba(11, 99, 209, .16);
}
.raf-program-hero-actions {
position: absolute;
right: clamp(34px, 6vw, 110px);
bottom: clamp(38px, 6vw, 90px);
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.raf-program-primary,
.raf-program-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 26px;
border-radius: 999px;
font-weight: 900;
text-decoration: none;
transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.raf-program-primary {
background: #0b63d1;
color: #fff;
box-shadow: 0 14px 32px rgba(11, 99, 209, .28);
}
.raf-program-secondary {
background: rgba(255, 255, 255, .92);
color: #0b63d1;
border: 1px solid #cfe1ff;
}
.raf-program-primary:hover,
.raf-program-secondary:hover {
transform: translateY(-2px);
}
.raf-program-section,
.raf-program-features,
.raf-program-cta {
width: min(1120px, calc(100% - 32px));
margin: 26px auto 0;
}
.raf-program-section {
background: rgba(255, 255, 255, .92);
border: 1px solid #dbeafe;
border-radius: 14px;
padding: 26px;
box-shadow: 0 18px 44px rgba(11, 99, 209, .08);
}
.raf-program-section > span,
.raf-program-intro > span,
.raf-program-faq > span {
display: inline-flex;
color: #0b63d1;
font-weight: 900;
margin-bottom: 8px;
}
.raf-program-section h1,
.raf-program-section h2,
.raf-program-cta h2 {
margin: 0;
color: #061f45;
line-height: 1.35;
letter-spacing: 0;
}
.raf-program-section h1 {
font-size: clamp(28px, 4vw, 46px);
}
.raf-program-section h2,
.raf-program-cta h2 {
font-size: clamp(24px, 3vw, 34px);
}
.raf-program-section p,
.raf-program-cta p {
color: #3b5579;
font-size: 17px;
line-height: 1.9;
margin: 12px 0 0;
}
.raf-program-intro {
text-align: center;
padding: 34px 28px;
}
.raf-program-features {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.raf-program-features article {
background: #fff;
border: 1px solid #dbeafe;
border-radius: 12px;
padding: 20px;
box-shadow: 0 12px 30px rgba(11, 99, 209, .07);
}
.raf-program-features b {
display: inline-flex;
width: 42px;
height: 42px;
border-radius: 50%;
align-items: center;
justify-content: center;
background: #e8f2ff;
color: #0b63d1;
font-weight: 900;
}
.raf-program-features h2 {
color: #061f45;
font-size: 20px;
margin: 14px 0 8px;
}
.raf-program-features p {
color: #49617f;
line-height: 1.8;
margin: 0;
font-weight: 700;
}
.raf-program-steps {
display: grid;
grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
gap: 24px;
align-items: start;
}
.raf-program-steps ol {
display: grid;
gap: 12px;
list-style: none;
counter-reset: rafProgramSteps;
margin: 0;
padding: 0;
}
.raf-program-steps li {
position: relative;
counter-increment: rafProgramSteps;
background: #f5f9ff;
border: 1px solid #dbeafe;
border-radius: 12px;
padding: 18px 64px 18px 18px;
}
.raf-program-steps li::before {
content: counter(rafProgramSteps);
position: absolute;
right: 18px;
top: 18px;
width: 34px;
height: 34px;
display: grid;
place-items: center;
border-radius: 50%;
background: #0b63d1;
color: #fff;
font-weight: 900;
}
.raf-program-steps strong {
color: #061f45;
font-size: 18px;
}
.raf-program-steps p {
font-size: 15px;
margin-top: 5px;
}
.raf-program-commission .raf-terms-commission-table {
margin-top: 18px;
}
.raf-program-faq-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: 18px;
}
.raf-program-faq details {
background: #f7fbff;
border: 1px solid #dbeafe;
border-radius: 12px;
padding: 0;
overflow: hidden;
}
.raf-program-faq summary {
cursor: pointer;
padding: 16px 18px;
color: #061f45;
font-weight: 900;
}
.raf-program-faq details p {
margin: 0;
padding: 0 18px 18px;
font-size: 15px;
}
.raf-program-cta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
background: linear-gradient(135deg, #0b63d1, #074a9f);
color: #fff;
border-radius: 18px;
padding: 28px;
margin-bottom: 34px;
box-shadow: 0 22px 55px rgba(11, 99, 209, .22);
}
.raf-program-cta h2,
.raf-program-cta p {
color: #fff;
}
.raf-program-cta .raf-program-primary {
background: #fff;
color: #0b63d1;
box-shadow: none;
flex: 0 0 auto;
}
.raf-auth-standalone-body {
display: grid;
align-items: start;
}
.raf-login-standalone-body,
.raf-register-standalone-body {
background: #0b1220 url(//mfrash.com/wp-content/plugins/riyadh-affiliate/assets/login-background.png) center center / cover no-repeat fixed;
}
.raf-auth-standalone-body .raf-page {
width: 100%;
box-sizing: border-box;
}
.raf-login-standalone-body .raf-page {
min-height: 100vh;
display: grid;
align-items: center;
}
.raf-login-standalone-body .raf-auth-card {
background: rgba(255, 255, 255, .96);
border-color: rgba(255, 255, 255, .72);
box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.raf-card,
.raf-dashboard {
max-width: 980px;
margin: 0 auto;
}
.raf-card {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 24px;
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.raf-auth-card {
max-width: 460px;
}
.raf-login-logo,
.raf-register-logo {
display: flex;
justify-content: center;
margin: 0 auto 18px;
}
.raf-login-logo img,
.raf-register-logo img {
display: block;
width: min(260px, 82vw);
height: auto;
}
.raf-register-logo img {
width: min(300px, 82vw);
}
.raf-wide-card {
max-width: 860px;
}
.raf-card h1,
.raf-card h2 {
margin: 0 0 18px;
line-height: 1.35;
letter-spacing: 0;
}
.raf-card h1 {
font-size: 26px;
}
.raf-card h2 {
font-size: 21px;
}
.raf-form {
display: grid;
gap: 16px;
}
.raf-grid-form {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.raf-grid-form .raf-register-section {
grid-column: 1 / -1;
}
.raf-form label {
display: grid;
gap: 7px;
font-weight: 700;
}
.raf-form label span {
font-size: 14px;
}
.raf-field-note {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-form input,
.raf-form select,
.raf-form textarea,
.raf-referral-input {
width: 100%;
min-height: 46px;
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 10px 12px;
background: #fff;
color: #17202a;
font-size: 16px;
box-sizing: border-box;
font-family: inherit;
}
.raf-form input:focus,
.raf-form select:focus,
.raf-form textarea:focus,
.raf-referral-input:focus {
outline: 2px solid #78a6ff;
outline-offset: 2px;
border-color: #3164d4;
}
.raf-form textarea {
min-height: 132px;
resize: vertical;
}
.raf-file-field {
position: relative;
min-height: 46px;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 10px;
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 8px;
background: #fff;
box-sizing: border-box;
cursor: pointer;
}
.raf-file-field input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
.raf-file-field b {
min-height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
padding: 5px 10px;
background: #0b63d1;
color: #fff;
font-size: 13px;
}
.raf-file-field small {
min-width: 0;
color: #6b85aa;
font-size: 12px;
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.raf-register-section {
display: grid;
gap: 14px;
padding: 16px;
border: 1px solid #dbeafe;
border-radius: 8px;
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
box-shadow: 0 8px 22px rgba(30, 92, 170, .06);
}
.raf-register-section-head {
display: flex;
align-items: center;
gap: 12px;
padding-bottom: 12px;
border-bottom: 1px solid #e5efff;
}
.raf-register-section-head b {
width: 38px;
height: 38px;
display: inline-grid;
place-items: center;
flex: 0 0 38px;
border-radius: 999px;
background: #0b63d1;
color: #fff;
font-size: 16px;
font-weight: 900;
}
.raf-register-section-head h3 {
margin: 0;
color: #082b5d;
font-size: 18px;
line-height: 1.35;
}
.raf-register-section-head p {
margin: 3px 0 0;
color: #6b85aa;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.raf-register-section-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px 16px;
}
.raf-register-section-grid label:last-child:nth-child(odd) {
grid-column: 1 / -1;
}
.raf-register-name-note {
grid-column: 1 / -1;
padding: 11px 14px;
border: 1px solid #bfdbfe;
border-radius: 8px;
background: #eff6ff;
color: #0b4db3;
font-size: 13px;
font-weight: 900;
line-height: 1.7;
}
.raf-settings-section-title {
padding: 12px 14px;
border-radius: 8px;
background: #eff6ff;
color: #0b4db3;
font-size: 15px;
font-weight: 900;
}
.raf-register-section-phone {
background: #f5f9ff;
}
.raf-register-section-bank .raf-register-section-head b {
background: #14a56b;
}
.raf-register-section-files .raf-register-section-head b {
background: #7c3aed;
}
.raf-register-section .raf-phone-status {
margin-top: -6px;
}
.raf-phone-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 8px;
direction: ltr;
}
.raf-phone-row bdi {
min-height: 46px;
}
.raf-phone-row input {
direction: ltr;
}
.raf-phone-verify-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
align-items: stretch;
}
.raf-register-phone-row {
grid-template-columns: auto minmax(0, 1fr) auto;
direction: ltr;
}
.raf-register-phone-field {
grid-column: 1 / -1;
}
.raf-country-prefix {
display: grid;
place-items: center;
min-height: 46px;
padding: 0 12px;
border: 1px solid #cbd5e1;
border-radius: 8px;
background: #f8fafc;
color: #475569;
font-weight: 900;
}
.raf-phone-verify-row input {
direction: ltr;
}
.raf-register-phone-row.is-verified input,
.raf-register-phone-row input[readonly] {
background: #f1f5f9;
color: #64748b;
border-color: #cbd5e1;
cursor: not-allowed;
}
.raf-phone-verified-note {
color: #047857;
font-weight: 900;
font-size: 13px;
}
.raf-phone-status {
grid-column: 1 / -1;
width: 100%;
min-height: 22px;
margin-top: -4px;
color: #6b85aa;
font-size: 14px;
font-weight: 900;
direction: rtl;
text-align: right;
box-sizing: border-box;
}
.raf-otp-panel {
grid-column: 1 / -1;
display: grid;
gap: 8px;
padding: 14px;
border: 1px solid #bfdbfe;
border-radius: 8px;
background: #eff6ff;
}
.raf-otp-panel[hidden] {
display: none;
}
.raf-otp-status {
min-height: 22px;
font-size: 14px;
font-weight: 800;
}
.raf-otp-boxes {
display: grid;
grid-template-columns: repeat(4, minmax(44px, 64px));
justify-content: center;
gap: 8px;
direction: ltr;
}
.raf-otp-boxes input,
.raf-otp-modal-box .raf-otp-boxes input {
width: 100%;
min-height: 48px;
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 8px;
box-sizing: border-box;
background: #fff;
color: #0b2345;
text-align: center;
font-size: 22px;
font-weight: 900;
letter-spacing: 0;
caret-color: #0b63d1;
direction: ltr;
}
.raf-otp-boxes input:focus {
border-color: #164ec8;
outline: none;
box-shadow: 0 0 0 3px rgba(22, 78, 200, .14);
}
.raf-otp-boxes input[readonly] {
background: #eff6ff;
color: #64748b;
}
.raf-register-otp-status {
grid-column: 1 / -1;
margin-top: -6px;
}
.raf-otp-modal[hidden] {
display: none;
}
.raf-otp-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: grid;
place-items: center;
padding: 16px;
background: rgba(15, 23, 42, .48);
}
.raf-otp-modal-box {
width: min(440px, 100%);
display: grid;
gap: 14px;
border: 1px solid #bfdbfe;
border-radius: 8px;
padding: 22px;
background: #fff;
box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}
.raf-otp-modal-box h3 {
margin: 0;
color: #12315f;
font-size: 22px;
text-align: center;
}
.raf-otp-modal-box p {
margin: 0;
color: #6b85aa;
font-size: 14px;
font-weight: 800;
text-align: center;
}
.raf-otp-modal-box label {
display: grid;
gap: 7px;
font-weight: 900;
}
.raf-otp-modal-box input {
width: 100%;
min-height: 46px;
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 10px 12px;
box-sizing: border-box;
direction: ltr;
text-align: center;
font-size: 20px;
letter-spacing: 6px;
}
.raf-otp-modal-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.raf-modal-open {
overflow: hidden;
}
.raf-otp-status-success {
color: #047857;
}
.raf-otp-status-error {
color: #b42318;
}
.raf-button,
.raf-link-button,
.raf-register-link {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 46px;
border-radius: 8px;
padding: 10px 16px;
border: 0;
cursor: pointer;
text-decoration: none;
font-weight: 800;
font-size: 15px;
line-height: 1.2;
}
.raf-button .fa-solid,
.raf-link-button .fa-solid,
.raf-register-link .fa-solid {
font-size: 15px;
line-height: 1;
flex: 0 0 auto;
}
.raf-button {
background: #164ec8;
color: #fff;
}
.raf-button:hover,
.raf-button:focus {
background: #103f9f;
color: #fff;
}
.raf-button:disabled,
.raf-link-button:disabled {
opacity: .55;
cursor: not-allowed;
}
.raf-link-button,
.raf-register-link {
background: transparent;
color: #164ec8;
border: 1px solid #bfdbfe;
}
.raf-link-button .fa-solid,
.raf-register-link .fa-solid {
color: #164ec8;
}
.raf-register-link {
width: 100%;
margin-top: 14px;
min-height: 56px;
background: #fff;
border: 1px solid #bfdbfe;
box-sizing: border-box;
font-size: 18px;
font-weight: 900;
}
.raf-inline-form {
margin-top: 12px;
}
.raf-grid-submit {
grid-column: 1 / -1;
}
.raf-terms-field {
display: flex !important;
align-items: center;
gap: 10px;
padding: 10px 12px;
border: 1px solid #dbeafe;
border-radius: 8px;
background: #f8fbff;
}
.raf-terms-field input {
width: 18px;
min-height: 18px;
flex: 0 0 auto;
}
.raf-terms-field span {
font-weight: 900;
}
.raf-alert {
border-radius: 8px;
padding: 12px 14px;
margin: 0 0 16px;
font-weight: 700;
}
.raf-alert-error {
background: #fff1f2;
color: #b42318;
border: 1px solid #fecdd3;
}
.raf-alert-success {
background: #ecfdf5;
color: #047857;
border: 1px solid #a7f3d0;
}
.raf-alert-warning {
background: #fff7ed;
color: #9a3412;
border: 1px solid #fed7aa;
display: grid;
gap: 4px;
}
.raf-app-shell {
direction: rtl;
display: grid;
grid-template-columns: 160px minmax(0, 1fr);
gap: 0;
min-height: 760px;
max-width: 1180px;
margin: 18px auto;
background: #f4f8ff;
border: 1px solid #d8e7ff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 18px 46px rgba(17, 74, 170, 0.16);
color: #12315f;
position: relative;
font-family: "Cairo", Tahoma, Arial, sans-serif;
}
.raf-mobile-menu-toggle,
.raf-mobile-menu-backdrop {
display: none;
}
.raf-app-sidebar {
background: #fff;
border-left: 1px solid #dbeafe;
padding: 18px 14px;
display: flex;
flex-direction: column;
gap: 18px;
}
.raf-brand {
display: flex;
align-items: center;
justify-content: center;
color: #0b63d1;
font-weight: 900;
}
.raf-brand img {
display: block;
width: 118px;
max-width: 100%;
height: auto;
border-radius: 8px;
}
.raf-brand-mark {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border-radius: 8px;
background: #0b63d1;
color: #fff;
}
.raf-side-nav {
display: grid;
gap: 6px;
}
.raf-side-nav a,
.raf-side-logout {
min-height: 38px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 10px;
border-radius: 8px;
color: #3d6296;
text-decoration: none;
font-size: 13px;
font-weight: 800;
}
.raf-side-nav a span {
min-width: 0;
}
.raf-side-badge {
min-width: 22px;
height: 22px;
padding: 0 7px;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
background: #3157f3;
color: #fff;
font-size: 12px;
line-height: 1;
font-weight: 900;
}
.raf-side-nav a.is-active .raf-side-badge,
.raf-side-nav a:hover .raf-side-badge {
background: #fff;
color: #0b63d1;
}
.raf-side-nav a.is-active,
.raf-side-nav a:hover {
background: #0b63d1;
color: #fff;
}
.raf-side-logout {
margin-top: auto;
color: #0b63d1;
}
.raf-app-main {
padding: 18px;
display: grid;
gap: 6px;
align-content: start;
grid-auto-rows: max-content;
}
.raf-app-main > header + * {
margin-top: 0 !important;
}
.raf-app-topbar {
position: relative;
z-index: 80;
height: 96px;
min-height: 96px;
border-radius: 8px;
background: linear-gradient(135deg, #0759c7 0%, #0b67dc 58%, #0a57bd 100%);
color: #fff;
padding: 18px 22px;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
overflow: visible;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 28px rgba(11, 99, 209, .14);
}
.raf-app-topbar > div:first-child {
display: grid;
gap: 8px;
}
.raf-app-topbar h1 {
margin: 0;
font-size: 22px;
line-height: 1.1;
letter-spacing: 0;
}
.raf-topbar-name {
display: inline-flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.raf-topbar-name span {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 24px;
padding: 4px 10px;
border-radius: 999px;
background: rgba(255, 255, 255, .18);
border: 1px solid rgba(255, 255, 255, .28);
color: #fff;
font-size: 12px;
line-height: 1;
font-weight: 900;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.raf-smart-topbar-hint {
margin: 0;
max-width: 620px;
color: rgba(255, 255, 255, .9);
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.raf-topbar-actions {
position: relative;
z-index: 90;
display: inline-flex;
align-items: center;
gap: 10px;
flex: 0 0 auto;
}
.raf-notification-bell {
width: 48px;
height: 48px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
color: #fff;
background: rgba(255, 255, 255, .16);
border: 1px solid rgba(255, 255, 255, .24);
text-decoration: none;
flex: 0 0 auto;
}
.raf-notification-bell:hover,
.raf-notification-bell:focus {
color: #fff;
background: rgba(255, 255, 255, .24);
outline: none;
}
.raf-notification-bell img {
width: 24px;
height: 24px;
display: block;
object-fit: contain;
}
.raf-notification-bell b {
min-width: 20px;
height: 20px;
padding: 0 5px;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
position: absolute;
top: -5px;
inset-inline-end: -5px;
background: #ef4444;
color: #fff;
border: 2px solid #0b63d1;
font-size: 11px;
line-height: 1;
box-sizing: border-box;
}
.raf-notification-menu,
.raf-activity-menu {
position: relative;
z-index: 100;
flex: 0 0 auto;
}
.raf-notification-bell,
.raf-activity-toggle {
cursor: pointer;
}
.raf-activity-toggle {
width: 48px;
height: 48px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
background: rgba(255, 255, 255, .16);
border: 1px solid rgba(255, 255, 255, .24);
box-shadow: none;
padding: 0;
}
.raf-activity-toggle img {
width: 28px;
height: 28px;
display: block;
object-fit: contain;
}
.raf-activity-toggle:hover,
.raf-activity-toggle:focus {
outline: none;
transform: translateY(-1px);
background: rgba(255, 255, 255, .24);
}
.raf-notification-dropdown,
.raf-activity-dropdown {
width: min(340px, calc(100vw - 24px));
position: absolute;
top: calc(100% + 10px);
inset-inline-end: 0;
z-index: 9999;
padding: 10px;
border-radius: 8px;
background: #fff;
color: #12315f;
border: 1px solid #dbeafe;
box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
}
.raf-notification-dropdown[hidden],
.raf-activity-dropdown[hidden] {
display: none;
}
.raf-notification-dropdown-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 4px 4px 10px;
border-bottom: 1px solid #e5efff;
}
.raf-notification-dropdown-head strong {
color: #12315f;
}
.raf-notification-dropdown-head a,
.raf-notification-dropdown > a {
color: #0b63d1;
text-decoration: none;
font-weight: 900;
}
.raf-notification-dropdown > a {
display: grid;
gap: 3px;
padding: 10px 6px;
border-bottom: 1px solid #eef5ff;
}
.raf-notification-dropdown > a.is-unread {
background: #eff6ff;
border-radius: 8px;
}
.raf-notification-dropdown > a.is-smart {
background: #f0fdf4;
border: 1px solid #bbf7d0;
border-radius: 8px;
margin-top: 6px;
}
.raf-notification-dropdown > a span,
.raf-notification-dropdown p {
margin: 0;
color: #6b85aa;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.raf-activity-dropdown-item {
display: grid;
gap: 4px;
padding: 10px 6px;
border-bottom: 1px solid #eef5ff;
}
.raf-activity-dropdown-item b {
color: #12315f;
font-size: 13px;
line-height: 1.5;
}
.raf-activity-dropdown-item span,
.raf-activity-dropdown p,
.raf-notification-dropdown-head span {
margin: 0;
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-notification-dropdown-action {
margin-top: 8px;
}
.raf-notification-dropdown-action button {
width: 100%;
min-height: 36px;
border: 0;
border-radius: 8px;
background: #0b63d1;
color: #fff;
font-family: inherit;
font-weight: 900;
cursor: pointer;
}
.raf-muted {
display: block;
font-size: 13px;
line-height: 1;
color: rgba(255, 255, 255, .78);
}
.raf-metric-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.raf-metric-card,
.raf-panel,
.raf-link-panel {
background: #fff;
border: 1px solid #dbeafe;
border-radius: 8px;
box-shadow: 0 10px 24px rgba(30, 92, 170, .08);
}
.raf-metric-card {
min-height: 112px;
padding: 12px;
display: grid;
gap: 5px;
position: relative;
overflow: hidden;
}
.raf-metric-card span,
.raf-panel-head span {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-metric-card strong {
color: #0b63d1;
font-size: 21px;
line-height: 1.15;
}
.raf-metric-card small {
color: #14a56b;
font-weight: 800;
}
.raf-metric-sparkline {
height: 42px;
width: 118px;
align-self: end;
justify-self: start;
display: block;
overflow: visible;
}
.raf-metric-sparkline polyline {
fill: none;
stroke: #0b63d1;
stroke-width: 3.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.raf-metric-sparkline-area {
fill: rgba(11, 99, 209, .12);
}
.raf-metric-sparkline circle {
fill: #0b63d1;
stroke: #fff;
stroke-width: 2;
cursor: help;
transition: r .15s ease, fill .15s ease;
}
.raf-metric-sparkline circle:hover,
.raf-metric-sparkline circle:focus {
r: 4.5;
fill: #14a56b;
outline: none;
}
.raf-conversion-card {
align-items: center;
justify-items: center;
}
.raf-ring {
width: 58px;
height: 58px;
border-radius: 999px;
display: grid;
place-items: center;
background: conic-gradient(#0b63d1 var(--raf-ring), #dbeafe 0);
}
.raf-ring b {
width: 42px;
height: 42px;
border-radius: 999px;
background: #fff;
display: grid;
place-items: center;
font-size: 12px;
color: #0b63d1;
}
.raf-dashboard-grid {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(250px, .75fr) minmax(230px, .66fr);
gap: 10px;
align-items: start;
}
.raf-panel,
.raf-link-panel {
padding: 14px;
}
.raf-panel-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.raf-panel h2,
.raf-link-panel h2,
.raf-profit-panel h2 {
margin: 0;
font-size: 16px;
color: #12315f;
letter-spacing: 0;
}
.raf-performance {
grid-column: 1;
grid-row: 1;
min-height: 238px;
}
.raf-products {
grid-column: 2;
grid-row: 1;
}
.raf-welcome-panel {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
}
.raf-welcome-panel h2,
.raf-campaign-detail h3 {
margin: 0 0 6px;
color: #12315f;
font-size: 16px;
}
.raf-welcome-panel p {
margin: 0;
color: #31557f;
font-weight: 700;
line-height: 1.7;
}
.raf-goal-box {
min-width: 260px;
padding: 12px;
border-radius: 8px;
background: #eff6ff;
border: 1px solid #bfdbfe;
display: grid;
gap: 5px;
}
.raf-goal-box strong {
color: #0b63d1;
}
.raf-goal-box span {
color: #31557f;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.raf-smart-alert-card {
margin: 12px 0;
padding: 14px 16px;
border-radius: 8px;
border: 1px solid #bfdbfe;
background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
box-shadow: 0 10px 28px rgba(11, 99, 209, .08);
}
.raf-smart-alert-card span {
display: block;
color: #6b85aa;
font-size: 12px;
font-weight: 900;
margin-bottom: 3px;
}
.raf-smart-alert-card strong {
display: block;
color: #0b63d1;
font-size: 16px;
font-weight: 900;
}
.raf-smart-alert-card p {
margin: 4px 0 0;
color: #31557f;
font-size: 13px;
font-weight: 800;
line-height: 1.7;
}
.raf-smart-alert-card a {
flex: 0 0 auto;
border-radius: 8px;
padding: 10px 14px;
background: #0b63d1;
color: #fff;
text-decoration: none;
font-weight: 900;
}
.raf-smart-alert-list {
display: grid;
gap: 10px;
margin-bottom: 12px;
}
.raf-notification-item.is-smart {
background: #f0fdf4;
border-color: #bbf7d0;
}
.raf-chart {
width: 100%;
height: 196px;
}
.raf-chart-grid line {
stroke: #e4efff;
stroke-width: 1;
}
.raf-chart polyline {
fill: none;
stroke: #0b63d1;
stroke-width: 4;
stroke-linecap: round;
stroke-linejoin: round;
}
.raf-chart-dots circle {
fill: #0b63d1;
stroke: #fff;
stroke-width: 2;
}
.raf-chart-labels text {
fill: #7d94b8;
font-size: 10px;
text-anchor: middle;
}
.raf-product-row,
.raf-order-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
padding: 9px 0;
border-bottom: 1px solid #edf4ff;
}
.raf-product-row:last-child,
.raf-order-row:last-child {
border-bottom: 0;
}
.raf-product-thumb {
width: 38px;
height: 38px;
border-radius: 8px;
background: linear-gradient(135deg, #dbeafe, #eff6ff);
}
.raf-product-row strong,
.raf-order-row strong {
display: block;
font-size: 13px;
color: #12315f;
}
.raf-product-row small,
.raf-order-row span {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-product-row b,
.raf-order-row b {
color: #0b63d1;
font-size: 12px;
}
.raf-link-panel {
background: #0b63d1;
color: #fff;
display: grid;
gap: 10px;
grid-column: 3;
grid-row: 1 / span 3;
justify-items: stretch;
}
.raf-link-panel h2 {
color: #fff;
text-align: center;
}
.raf-qr-box {
display: grid;
gap: 7px;
justify-items: center;
padding: 9px;
border-radius: 8px;
background: rgba(255, 255, 255, .12);
}
.raf-qr-box img {
width: 112px;
height: 112px;
border-radius: 8px;
background: #fff;
padding: 6px;
}
.raf-qr-actions {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
}
.raf-qr-box a {
min-height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
border-radius: 8px;
background: #fff;
color: #0b63d1;
font-weight: 900;
text-decoration: none;
box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}
.raf-pending-note {
margin: 0;
padding: 10px;
border-radius: 8px;
color: #fff;
background: rgba(255, 255, 255, .14);
font-weight: 800;
line-height: 1.6;
}
.raf-link-icon {
width: 36px;
height: 36px;
margin: 0 auto;
border: 2px solid rgba(255, 255, 255, .75);
border-radius: 999px;
position: relative;
}
.raf-link-icon::before,
.raf-link-icon::after {
content: "";
position: absolute;
width: 15px;
height: 8px;
border: 2px solid #fff;
border-radius: 999px;
top: 12px;
}
.raf-link-icon::before {
left: 7px;
transform: rotate(-35deg);
}
.raf-link-icon::after {
right: 7px;
transform: rotate(-35deg);
}
.raf-referral-input {
direction: ltr;
font-size: 12px;
border: 0;
border-radius: 8px;
padding: 10px;
min-height: 40px;
}
.raf-copy-link {
min-height: 38px;
border: 0;
border-radius: 8px;
background: rgba(255, 255, 255, .18);
color: #fff;
font-weight: 900;
cursor: pointer;
}
.raf-link-panel > .raf-copy-link,
.raf-link-panel .raf-marketing-edit-form > .raf-copy-link {
min-height: 48px;
background: #fff;
color: #0b63d1;
box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}
.raf-coupon-box {
display: grid;
gap: 7px;
padding: 10px;
border-radius: 8px;
background: rgba(255, 255, 255, .12);
text-align: center;
}
.raf-coupon-box span {
font-size: 12px;
color: rgba(255, 255, 255, .8);
font-weight: 800;
}
.raf-coupon-box strong {
direction: ltr;
letter-spacing: 0;
color: #fff;
font-size: 20px;
}
.raf-coupon-box button {
min-height: 32px;
border: 0;
border-radius: 8px;
background: #fff;
color: #0b63d1;
font-weight: 900;
cursor: pointer;
}
.raf-social-row {
display: flex;
justify-content: center;
gap: 8px;
}
.raf-social-row a {
width: 30px;
height: 30px;
border-radius: 999px;
display: grid;
place-items: center;
background: #fff;
color: #0b63d1;
text-decoration: none;
font-size: 11px;
font-weight: 900;
}
.raf-social-facebook {
font-family: Arial, sans-serif;
}
.raf-social-x {
font-family: Arial, sans-serif;
}
.raf-social-whatsapp {
font-size: 10px !important;
}
.raf-orders-panel {
grid-column: 1 / span 2;
grid-row: 2;
}
.raf-profit-panel {
display: flex;
grid-column: 1 / span 2;
grid-row: 3;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.raf-profit-panel strong {
display: block;
margin-top: 8px;
color: #0b63d1;
font-size: 24px;
}
.raf-profit-panel p,
.raf-empty {
color: #6b85aa;
font-size: 13px;
font-weight: 800;
}
.raf-help-panel {
display: grid;
gap: 18px;
}
.raf-help-form {
max-width: 680px;
}
.raf-help-toggle {
justify-self: start;
}
.raf-help-thread {
display: grid;
gap: 12px;
}
.raf-help-thread h3 {
margin: 0;
color: #12315f;
font-size: 16px;
}
.raf-help-message {
border: 1px solid #dbeafe;
border-radius: 8px;
padding: 14px;
background: #f8fbff;
}
.raf-help-message-replied {
border-color: #bbf7d0;
background: #f6fef9;
}
.raf-help-message-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 8px;
}
.raf-help-message-head strong {
color: #12315f;
}
.raf-help-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 24px;
padding: 3px 9px;
border-radius: 999px;
font-size: 11px;
font-weight: 900;
}
.raf-help-badge-new {
background: #eff6ff;
color: #0b63d1;
}
.raf-help-badge-replied {
background: #ecfdf5;
color: #047857;
}
.raf-help-chat-row {
display: flex;
margin-top: 10px;
}
.raf-help-chat-row > div {
max-width: 78%;
padding: 10px 12px;
border-radius: 8px;
}
.raf-help-chat-row.is-affiliate {
justify-content: flex-start;
}
.raf-help-chat-row.is-affiliate > div {
background: #fff;
border: 1px solid #dbeafe;
}
.raf-help-chat-row.is-admin {
justify-content: flex-end;
}
.raf-help-message-head span,
.raf-help-reply small,
.raf-help-status {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-help-message p {
margin: 0;
color: #264263;
line-height: 1.8;
}
.raf-help-reply {
margin-top: 0;
padding: 10px 12px;
border-radius: 8px;
background: #eaf4ff;
border: 1px solid #bfdbfe;
}
.raf-help-chat-row small {
display: block;
margin-top: 6px;
color: #6b85aa;
font-size: 11px;
font-weight: 800;
}
.raf-help-reply b {
display: block;
margin-bottom: 6px;
color: #0b63d1;
}
.raf-payout-progress {
width: 92px;
height: 92px;
flex: 0 0 92px;
border-radius: 999px;
display: grid;
place-items: center;
text-align: center;
background: conic-gradient(#0b63d1 var(--raf-payout-progress), #dbeafe 0);
position: relative;
box-shadow: inset 0 0 0 1px rgba(11, 99, 209, .08);
}
.raf-payout-progress::before {
content: "";
position: absolute;
inset: 10px;
border-radius: inherit;
background: #fff;
}
.raf-payout-progress b,
.raf-payout-progress small {
position: relative;
z-index: 1;
}
.raf-payout-progress b {
color: #0b63d1;
font-size: 20px;
line-height: 1;
font-weight: 900;
}
.raf-payout-progress small {
color: #6b85aa;
font-size: 10px;
font-weight: 800;
margin-top: -18px;
max-width: 62px;
}
.raf-full-panel {
grid-column: 1 / -1;
}
.raf-single-grid {
grid-template-columns: repeat(2, minmax(280px, 420px));
}
.raf-link-single-grid {
grid-template-columns: minmax(280px, 540px);
}
.raf-campaigns-page {
display: grid;
gap: 12px;
}
.raf-inner-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 8px;
border: 1px solid #dbeafe;
border-radius: 8px;
background: #fff;
box-shadow: 0 10px 24px rgba(30, 92, 170, .06);
}
.raf-inner-tabs a {
min-height: 40px;
padding: 9px 16px;
border-radius: 8px;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 1 1 180px;
color: #0b63d1;
background: #eff6ff;
border: 1px solid #bfdbfe;
text-decoration: none;
font-weight: 900;
}
.raf-inner-tabs a.is-active {
color: #fff;
background: #0b63d1;
border-color: #0b63d1;
}
.raf-campaign-tab-body {
display: grid;
}
.raf-campaign-link-body {
max-width: 680px;
width: 100%;
}
.raf-campaign-panel {
width: 100%;
box-sizing: border-box;
}
.raf-campaign-panel .raf-grid-form {
grid-template-columns: repeat(2, minmax(220px, 1fr));
align-items: end;
}
.raf-campaign-panel .raf-grid-submit {
grid-column: 1 / -1;
}
.raf-campaign-filter {
display: flex;
flex-wrap: wrap;
gap: 7px;
margin: 12px 0;
}
.raf-campaign-filter a {
min-height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
border-radius: 999px;
border: 1px solid #bfdbfe;
background: #eff6ff;
color: #0b63d1;
text-decoration: none;
font-size: 12px;
font-weight: 900;
}
.raf-campaign-filter a.is-active {
background: #0b63d1;
border-color: #0b63d1;
color: #fff;
}
.raf-campaign-detail {
display: grid;
gap: 12px;
}
.raf-campaign-detail-grid {
display: grid;
grid-template-columns: minmax(240px, .45fr) minmax(0, 1fr);
gap: 12px;
}
.raf-campaign-detail-grid > article {
border: 1px solid #dbeafe;
border-radius: 8px;
padding: 12px;
background: #f8fbff;
min-width: 0;
}
.raf-referral-edit-panel {
align-self: start;
}
.raf-activity-panel {
grid-column: 3;
grid-row: 3;
}
.raf-activity-list {
display: grid;
gap: 8px;
}
.raf-activity-item {
display: grid;
gap: 3px;
padding: 10px;
border-radius: 8px;
background: #f8fbff;
border: 1px solid #e4efff;
}
.raf-activity-item b {
color: #12315f;
font-size: 13px;
line-height: 1.5;
}
.raf-activity-item span {
color: #6b85aa;
font-size: 11px;
font-weight: 800;
}
.raf-edit-marketing-toggle {
width: 100%;
margin-top: 4px;
}
.raf-marketing-edit-form {
gap: 12px;
}
.raf-link-panel .raf-marketing-edit-form label {
color: #fff;
text-align: right;
}
.raf-link-panel .raf-marketing-edit-form .raf-field-note {
color: rgba(255, 255, 255, .78);
}
.raf-link-panel .raf-marketing-edit-form .raf-link-button {
color: #fff;
border-color: rgba(255, 255, 255, .42);
}
.raf-link-panel .raf-marketing-edit-form .raf-button {
background: #fff;
color: #0b63d1;
}
.raf-editable-field-label {
gap: 8px;
}
.raf-referral-display-input {
width: 100%;
box-sizing: border-box;
background: #eef2f7;
color: #334155;
border: 1px solid #dbe3ee;
cursor: pointer;
}
.raf-marketing-edit-form:not(.is-editing) .raf-editable-link-field {
display: none;
}
.raf-marketing-edit-form.is-editing .raf-referral-display-input {
display: none;
}
.raf-editable-link-field {
display: flex;
align-items: stretch;
min-height: 46px;
background: #fff;
border: 1px solid #cbd5e1;
border-radius: 8px;
overflow: hidden;
direction: ltr;
}
.raf-editable-link-field bdi {
display: inline-flex;
align-items: center;
padding: 0 12px;
background: #eff6ff;
color: #3b4b63;
border-right: 1px solid #dbe7fb;
font-size: 13px;
white-space: nowrap;
direction: ltr;
}
.raf-editable-link-field input,
.raf-editable-coupon-box input {
border: 0;
outline: 0;
}
.raf-editable-link-field input {
min-height: 44px;
border-radius: 0;
padding: 10px 12px;
}
.raf-editable-coupon-box input {
width: 100%;
min-height: 40px;
text-align: center;
color: #fff;
background: transparent;
font-size: 22px;
font-weight: 900;
direction: ltr;
}
.raf-editable-coupon-box input[readonly] {
cursor: default;
}
.raf-editable-coupon-box input:not([readonly]) {
background: #fff;
color: #17202a;
border-radius: 8px;
}
.raf-marketing-edit-form:not(.is-editing) input[readonly] {
user-select: all;
}
.raf-form-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: center;
}
.raf-marketing-edit-actions[hidden] {
display: none !important;
}
.raf-live-check {
display: block;
min-height: 18px;
font-size: 13px;
font-weight: 800;
}
.raf-live-check-success {
color: #bbf7d0;
}
.raf-live-check-error {
color: #fecaca;
}
.raf-form-actions .raf-button,
.raf-form-actions .raf-link-button {
flex: 1 1 160px;
}
.raf-filter-tabs {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.raf-filter-tabs a {
min-height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 7px 12px;
border-radius: 8px;
text-decoration: none;
font-weight: 900;
color: #0b63d1;
background: #eff6ff;
border: 1px solid #bfdbfe;
}
.raf-filter-tabs a.is-active {
background: #0b63d1;
color: #fff;
}
.raf-table-wrap {
overflow-x: auto;
margin-top: 12px;
}
.raf-table {
width: 100%;
min-width: 760px;
border-collapse: collapse;
}
.raf-table th,
.raf-table td {
padding: 12px;
border-bottom: 1px solid #e2e8f0;
text-align: right;
vertical-align: middle;
font-size: 13px;
}
.raf-table th {
background: #f8fbff;
color: #31557f;
font-weight: 900;
}
.raf-banner-platforms,
.raf-banner-folders {
display: grid;
gap: 14px;
}
.raf-banner-social-warning {
margin: 0 0 14px;
padding: 14px 16px;
border-radius: 8px;
border: 1px solid #fed7aa;
background: #fff7ed;
color: #7c2d12;
display: grid;
gap: 6px;
}
.raf-banner-social-warning strong {
font-size: 15px;
font-weight: 900;
}
.raf-banner-social-warning p {
margin: 0;
color: #9a3412;
font-size: 13px;
font-weight: 800;
line-height: 1.7;
}
.raf-banner-social-warning a {
justify-self: start;
border-radius: 8px;
padding: 9px 12px;
background: #0b63d1;
color: #fff;
text-decoration: none;
font-weight: 900;
}
.raf-banner-platform {
display: grid;
gap: 10px;
}
.raf-banner-platform > h3 {
margin: 0;
padding: 10px 12px;
border-radius: 8px;
background: #eff6ff;
color: #0b63d1;
font-size: 16px;
}
.raf-banner-folder {
border: 1px solid #dbeafe;
border-radius: 8px;
padding: 14px;
background: #f8fbff;
}
.raf-banner-platform-folder {
background: #fff;
box-shadow: 0 10px 24px rgba(30, 92, 170, .06);
}
.raf-banner-platform-folder:not([open]) {
padding-bottom: 14px;
}
.raf-banner-folder-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 12px;
}
.raf-banner-platform-folder > summary.raf-banner-folder-head {
cursor: pointer;
list-style: none;
margin-bottom: 0;
user-select: none;
}
.raf-banner-platform-folder > summary.raf-banner-folder-head::-webkit-details-marker {
display: none;
}
.raf-banner-platform-folder[open] > summary.raf-banner-folder-head {
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 1px solid #e4efff;
}
.raf-banner-folder-head h4 {
display: inline-flex;
align-items: center;
gap: 8px;
margin: 0;
color: #12315f;
font-size: 18px;
}
.raf-banner-folder-head h4::before {
content: "";
width: 18px;
height: 14px;
display: inline-block;
border-radius: 4px 4px 3px 3px;
background: linear-gradient(180deg, #0b63d1 0%, #2683ef 100%);
box-shadow: -5px -4px 0 -2px #9cc8ff;
}
.raf-banner-folder-head span {
color: #6b85aa;
font-size: 12px;
font-weight: 900;
}
.raf-banner-folder-head span::after {
content: "فتح";
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 28px;
margin-inline-start: 8px;
padding: 0 10px;
border-radius: 999px;
background: #eff6ff;
color: #0b63d1;
}
.raf-banner-platform-folder[open] .raf-banner-folder-head span::after {
content: "إغلاق";
}
.raf-banner-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 12px;
}
.raf-banner-item {
display: grid;
gap: 8px;
padding: 10px;
border-radius: 8px;
background: #fff;
border: 1px solid #e4efff;
}
.raf-banner-item img {
display: block;
width: 100%;
height: 120px;
object-fit: contain;
background: #f1f5f9;
border-radius: 8px;
}
.raf-banner-item.is-generating-preview img {
opacity: .65;
}
.raf-banner-item[data-raf-dynamic-banner="1"] > a:first-child {
cursor: pointer;
}
.raf-banner-item strong {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #12315f;
font-size: 13px;
}
.raf-banner-coupon-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 30px;
padding: 6px 8px;
border-radius: 8px;
background: #eff6ff;
color: #0b4db3;
font-size: 12px;
font-weight: 900;
text-align: center;
}
.raf-download-button {
min-height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background: #0b63d1;
color: #fff;
text-decoration: none;
font-weight: 900;
font-size: 13px;
}
.raf-download-button.is-loading {
opacity: .78;
pointer-events: none;
}
.raf-profit-metrics {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.raf-action-form {
margin: 12px 0;
}
.raf-filter-form {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}
.raf-filter-form input,
.raf-filter-form select {
min-height: 38px;
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 6px 10px;
background: #fff;
font-family: inherit;
}
.raf-filter-form label {
display: grid;
gap: 4px;
font-size: 12px;
font-weight: 900;
color: #31557f;
}
.raf-report-filter-form {
margin: 0 0 14px;
padding: 12px;
border: 1px solid #dbeafe;
border-radius: 8px;
background: #f8fbff;
justify-content: flex-start;
align-items: end;
}
.raf-report-filter-form label {
min-width: 116px;
}
.raf-report-filter-form select {
min-width: 116px;
height: 44px;
font-size: 14px;
font-weight: 800;
}
.raf-report-filter-form .raf-link-button {
width: auto;
min-width: 82px;
height: 44px;
min-height: 44px;
padding: 0 14px;
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
box-sizing: border-box;
}
.raf-order-status,
.raf-settlement-status,
.raf-campaign-status {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 28px;
padding: 4px 10px;
border-radius: 999px;
background: #eff6ff;
color: #0b63d1;
font-size: 12px;
font-weight: 900;
white-space: nowrap;
}
.raf-order-status-completed,
.raf-settlement-status-paid,
.raf-campaign-status-active {
background: #ecfdf5;
color: #047857;
}
.raf-order-status-processing,
.raf-order-status-shipped,
.raf-order-status-out-for-delivery,
.raf-order-status-on-the-way,
.raf-settlement-status-waiting,
.raf-campaign-status-ready {
background: #fff7ed;
color: #c2410c;
}
.raf-order-status-cancelled,
.raf-order-status-refunded,
.raf-settlement-status-rejected,
.raf-campaign-status-expired {
background: #fef2f2;
color: #b91c1c;
}
.raf-campaign-status-paused {
background: #f1f5f9;
color: #475569;
}
.raf-table .raf-inline-action {
margin: 8px 0 0;
}
.raf-muted-inline {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-copy-mini {
min-height: 26px;
margin-inline-start: 6px;
padding: 3px 9px;
border: 1px solid #bfdbfe;
border-radius: 8px;
background: #eff6ff;
color: #0b63d1;
font-family: inherit;
font-size: 11px;
font-weight: 900;
cursor: pointer;
}
.raf-withdrawal-progress {
display: grid;
gap: 10px;
padding: 14px;
border: 1px solid #dbeafe;
border-radius: 8px;
background: #f8fbff;
}
.raf-withdrawal-progress strong {
display: block;
margin-bottom: 4px;
color: #12315f;
}
.raf-withdrawal-bar {
height: 12px;
overflow: hidden;
border-radius: 999px;
background: #dbeafe;
}
.raf-withdrawal-bar span {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #0b63d1, #14a56b);
}
.raf-notification-row {
display: grid;
gap: 4px;
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 8px;
margin-bottom: 8px;
background: #f8fbff;
}
.raf-notification-row strong {
color: #12315f;
}
.raf-notification-row span {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
}
.raf-inline-action {
margin: 0 0 12px;
}
.raf-notification-list {
display: grid;
gap: 10px;
}
.raf-notification-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: start;
padding: 14px;
border: 1px solid #dbeafe;
border-radius: 8px;
background: #fff;
}
.raf-notification-item.is-unread {
border-color: #0b63d1;
background: #eff6ff;
box-shadow: inset 4px 0 0 #0b63d1;
}
.raf-notification-item strong {
color: #12315f;
display: block;
margin-bottom: 5px;
}
.raf-notification-item p {
margin: 0;
color: #31557f;
font-weight: 700;
line-height: 1.7;
}
.raf-notification-item small {
color: #6b85aa;
font-size: 12px;
font-weight: 800;
white-space: nowrap;
}
@media (max-width: 720px) {
.raf-page {
padding: 18px 10px;
}
.raf-card {
padding: 18px;
}
.raf-grid-form {
grid-template-columns: 1fr;
}
.raf-register-section {
padding: 13px;
}
.raf-register-section-head {
align-items: flex-start;
}
.raf-register-section-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.raf-register-section-grid label:last-child:nth-child(odd) {
grid-column: auto;
}
.raf-campaign-panel .raf-grid-form {
grid-template-columns: 1fr;
}
.raf-phone-verify-row {
grid-template-columns: 1fr;
}
.raf-register-phone-row {
grid-template-columns: auto minmax(0, 1fr);
}
.raf-register-phone-row .raf-link-button {
grid-column: 1 / -1;
}
.raf-file-field {
grid-template-columns: 1fr;
gap: 7px;
}
.raf-file-field b {
width: 100%;
box-sizing: border-box;
}
.raf-otp-modal {
align-items: end;
padding: 10px;
}
.raf-otp-modal-box {
padding: 18px;
}
.raf-otp-modal-actions {
grid-template-columns: 1fr;
}
.raf-card h1 {
font-size: 23px;
}
.raf-app-shell {
grid-template-columns: 1fr;
min-height: 100vh;
margin: 0;
border-radius: 0;
border: 0;
overflow: visible;
}
.raf-app-sidebar {
position: fixed;
top: 0;
right: 0;
z-index: 10001;
width: min(78vw, 260px);
height: 100vh;
overflow-y: auto;
border-left: 1px solid #dbeafe;
border-bottom: 0;
padding: 16px 12px;
gap: 12px;
transform: translateX(105%);
transition: transform .22s ease;
box-shadow: -18px 0 42px rgba(15, 23, 42, .18);
}
.raf-side-nav {
grid-template-columns: 1fr;
gap: 5px;
}
.raf-side-nav a,
.raf-side-logout {
min-height: 34px;
padding: 7px 8px;
font-size: 11px;
line-height: 1.25;
}
.raf-brand {
justify-content: center;
}
.raf-brand img {
width: 126px;
}
.raf-app-main {
min-width: 0;
padding: 58px 10px 10px;
gap: 6px;
align-content: start;
grid-auto-rows: max-content;
}
.raf-mobile-menu-toggle {
position: fixed;
top: 12px;
right: 12px;
z-index: 10002;
display: grid;
gap: 4px;
place-content: center;
width: 42px;
height: 42px;
border: 0;
border-radius: 8px;
background: #0b63d1;
box-shadow: 0 8px 20px rgba(11, 99, 209, .28);
cursor: pointer;
}
.raf-mobile-menu-toggle span {
display: block;
width: 20px;
height: 2px;
border-radius: 999px;
background: #fff;
}
.raf-mobile-menu-backdrop {
position: fixed;
inset: 0;
z-index: 10000;
border: 0;
padding: 0;
background: rgba(15, 23, 42, .36);
opacity: 0;
pointer-events: none;
transition: opacity .22s ease;
}
.raf-app-shell.is-menu-open .raf-app-sidebar {
transform: translateX(0);
}
.raf-app-shell.is-menu-open .raf-mobile-menu-backdrop {
display: block;
opacity: 1;
pointer-events: auto;
}
.raf-app-topbar {
height: auto;
min-height: 72px;
padding: 12px;
justify-content: space-between;
text-align: right;
}
.raf-notification-bell {
width: 42px;
height: 42px;
}
.raf-activity-toggle {
width: 42px;
height: 42px;
}
.raf-activity-toggle img {
width: 24px;
height: 24px;
}
.raf-notification-dropdown,
.raf-activity-dropdown {
inset-inline-end: 0;
width: min(310px, calc(100vw - 22px));
max-height: 58vh;
overflow-y: auto;
}
.raf-app-topbar h1 {
font-size: 18px;
}
.raf-smart-topbar-hint {
max-width: 170px;
font-size: 11px;
line-height: 1.45;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.raf-app-topbar > div:first-child {
gap: 7px;
justify-items: start;
margin-inline-start: 0;
margin-inline-end: 0;
}
.raf-muted {
font-size: 12px;
}
.raf-help-message-head {
align-items: flex-start;
flex-direction: column;
gap: 4px;
}
.raf-metric-grid,
.raf-dashboard-grid {
grid-template-columns: 1fr;
}
.raf-performance,
.raf-products,
.raf-link-panel,
.raf-activity-panel,
.raf-orders-panel,
.raf-profit-panel {
grid-column: auto;
grid-row: auto;
}
.raf-performance {
min-height: 0;
}
.raf-chart {
height: 180px;
}
.raf-welcome-panel,
.raf-campaign-detail-grid {
grid-template-columns: 1fr;
flex-direction: column;
align-items: stretch;
}
.raf-goal-box {
min-width: 0;
}
.raf-smart-alert-card {
align-items: stretch;
flex-direction: column;
gap: 10px;
padding: 12px;
}
.raf-smart-alert-card a {
text-align: center;
}
.raf-profit-metrics {
grid-template-columns: 1fr;
}
.raf-profit-panel {
flex-direction: column;
align-items: stretch;
}
.raf-help-form {
max-width: none;
}
.raf-help-chat-row > div {
max-width: 100%;
}
.raf-panel,
.raf-link-panel {
padding: 12px;
}
.raf-panel-head {
align-items: flex-start;
flex-direction: column;
gap: 10px;
margin-bottom: 10px;
}
.raf-panel-head h2,
.raf-link-panel h2,
.raf-profit-panel h2 {
font-size: 15px;
line-height: 1.35;
}
.raf-notification-item {
grid-template-columns: 1fr;
}
.raf-notification-item small {
white-space: normal;
}
.raf-filter-tabs {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 7px;
}
.raf-filter-tabs a {
min-height: 38px;
padding: 7px 8px;
font-size: 12px;
}
.raf-filter-form {
width: 100%;
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 8px;
align-items: stretch;
box-sizing: border-box;
}
.raf-filter-form label {
min-width: 0;
}
.raf-filter-form input,
.raf-filter-form select,
.raf-filter-form label,
.raf-filter-form button,
.raf-report-filter-form .raf-link-button,
.raf-action-form .raf-button {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.raf-report-filter-form {
padding: 10px;
}
.raf-table-wrap {
overflow: visible;
margin-top: 8px;
}
.raf-table {
min-width: 0;
border-collapse: separate;
border-spacing: 0 10px;
}
.raf-table thead {
display: none;
}
.raf-table tbody,
.raf-table tr,
.raf-table td {
display: block;
width: 100%;
box-sizing: border-box;
}
.raf-table tr {
overflow: hidden;
border: 1px solid #dbeafe;
border-radius: 8px;
background: #fff;
box-shadow: 0 8px 18px rgba(30, 92, 170, .06);
}
.raf-table td {
min-height: 40px;
padding: 10px 12px;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
border-bottom: 1px solid #edf4ff;
text-align: right;
line-height: 1.5;
word-break: break-word;
}
.raf-table td:last-child {
border-bottom: 0;
}
.raf-table td::before {
content: attr(data-label);
flex: 0 0 42%;
color: #31557f;
font-size: 12px;
font-weight: 900;
text-align: right;
}
.raf-table td > :not(:first-child),
.raf-table td bdi {
max-width: 58%;
overflow-wrap: anywhere;
}
.raf-table td[colspan] {
display: block;
text-align: center;
}
.raf-table td[colspan]::before {
content: "";
display: none;
}
.raf-orders-panel {
grid-column: auto;
}
}
@media (max-width: 640px) {
.raf-program-standalone-body,
.raf-program-standalone-body .raf-program-page {
width: 100%;
max-width: 100%;
overflow-x: hidden;
}
.raf-program-page {
overflow: hidden;
}
.raf-program-hero {
width: 100%;
padding: 0 10px;
box-sizing: border-box;
overflow: hidden;
background: transparent;
}
.raf-program-hero img {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0;
border-radius: 0 0 14px 14px;
object-fit: contain;
object-position: center center;
box-shadow: 0 14px 34px rgba(11, 99, 209, .14);
}
.raf-program-hero-actions {
position: static;
width: 100%;
margin: 10px 0 0;
padding: 0;
display: grid;
grid-template-columns: 1fr;
gap: 10px;
background: transparent;
}
.raf-program-primary,
.raf-program-secondary {
width: 100%;
max-width: 100%;
min-height: 46px;
padding: 0 16px;
box-sizing: border-box;
}
.raf-program-page *,
.raf-program-page *::before,
.raf-program-page *::after {
box-sizing: border-box;
}
.raf-program-section,
.raf-program-features,
.raf-program-cta {
width: calc(100% - 20px);
max-width: calc(100% - 20px);
margin-top: 14px;
box-sizing: border-box;
}
.raf-program-section {
padding: 18px;
border-radius: 12px;
}
.raf-program-intro {
text-align: right;
}
.raf-program-section h1 {
font-size: 28px;
}
.raf-program-section h2,
.raf-program-cta h2 {
font-size: 23px;
}
.raf-program-section p,
.raf-program-cta p {
font-size: 15px;
line-height: 1.75;
}
.raf-program-features,
.raf-program-steps,
.raf-program-faq-grid {
grid-template-columns: 1fr;
}
.raf-program-features {
gap: 10px;
}
.raf-program-features article {
padding: 16px;
}
.raf-program-steps {
gap: 14px;
}
.raf-program-steps li {
padding: 16px 58px 16px 16px;
}
.raf-program-commission .raf-table-wrap {
width: 100%;
max-width: 100%;
overflow: visible;
}
.raf-program-commission .raf-table {
min-width: 0;
width: 100%;
border-collapse: separate;
border-spacing: 0 10px;
box-shadow: none;
}
.raf-program-commission .raf-table thead {
display: none;
}
.raf-program-commission .raf-table tbody,
.raf-program-commission .raf-table tr,
.raf-program-commission .raf-table td {
display: block;
width: 100%;
}
.raf-program-commission .raf-table tr {
background: #fff;
border: 1px solid #dbeafe;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 24px rgba(11, 99, 209, .07);
}
.raf-program-commission .raf-table td {
border: 0;
border-bottom: 1px solid #edf4ff;
padding: 12px 14px;
text-align: right;
}
.raf-program-commission .raf-table td:last-child {
border-bottom: 0;
}
.raf-program-commission .raf-table td::before {
content: attr(data-label);
display: block;
color: #6b7fa3;
font-size: 12px;
font-weight: 900;
margin-bottom: 3px;
}
.raf-program-faq summary {
padding: 14px 16px;
}
.raf-program-cta {
display: grid;
padding: 20px;
margin-bottom: 20px;
}
}