﻿body {
    font-family: 'Cairo', sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #5f6773;
}

.widthW {
    min-width: 100% !important;
    max-width: 100% !important;
}

.binkeecolor,
.card-header {
    background-color: #f8d6e7 !important;
}

.btn-primary {
    background-color: #d7eef7 !important;
}

.btnblock {
    width: 100% !important;
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(249, 213, 213, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.loading-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.loading-logo {
    width: 90px;
    animation: pulse 1.5s infinite;
}

.loading-text {
    color: #fff;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Radio Button List */
.rbl-custom {
    margin-top: 10px;
}

    .rbl-custom label {
        cursor: pointer;
        margin-right: 0;
    }

    .rbl-custom input[type="radio"] {
        margin-left: 3px;
    }

/* Progress */
.progress-box {
    width: 100%;
    margin: 20px auto;
    font-family: 'Cairo', sans-serif;
}

.progress-title {
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
}

.custom-progress {
    width: 100%;
    height: 12px;
    background: #e9edf2;
    border-radius: 20px;
    overflow: hidden;
}

.custom-progress-bar {
    height: 100%;
    width: 0%;
    background: #c8568c;
    border-radius: 20px;
    transition: width .4s;
}

/* Steps Guide */
.guide-section {
    padding: 20px 15px 30px;
    background: #f7f7f7;
}

.guide-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #2f3a4c;
    margin-bottom: 8px;
}

.guide-subtitle {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6f7782;
    margin-bottom: 28px;
}

.steps-wrapper {
    position: relative;
}

.steps-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

.steps-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    min-width: 1100px;
    padding: 0 5px;
}

    .steps-row::before {
        content: "";
        position: absolute;
        top: 15px;
        right: 45px;
        left: 45px;
        height: 2px;
        background: #d9dde3;
        z-index: 0;
    }

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 90px;
    flex: 0 0 90px;
}

.step-circle {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #e8eaee;
    color: #6e7681;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.step-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7380;
    line-height: 1.5;
    white-space: nowrap;
}

.step-item.active .step-circle,
.step-link.active .step-circle {
    background: #c95488;
    color: #fff;
}

.step-item.active .step-label,
.step-link.active .step-label {
    color: #c95488;
}

.step-link {
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    display: block;
}

    .step-link:hover {
        text-decoration: none !important;
        transform: translateY(-3px);
    }

/* Password Rules */
.password-rules,
.setModernCard {
    background: linear-gradient(180deg, #EFD3DC 0%, #B7A6B2 100%);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    color: #4b3f4f;
    padding: 14px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #fff;
    color: #6b7280;
    font-size: 15px;
    transition: all 0.25s ease;
}

    .rule-item:last-child {
        margin-bottom: 0;
    }

.rule-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: bold;
}

.rule-item.valid {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

    .rule-item.valid .rule-icon {
        background: #10b981;
        color: #fff;
    }

.rule-item.invalid {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

    .rule-item.invalid .rule-icon {
        background: #f43f5e;
        color: #fff;
    }

/* Help Screen Card */
.help-screen-card {
    position: relative;
    direction: rtl;
    min-height: 100%;
    padding: 34px 18px 28px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #d8f2f9 0%, #c8b5c1 100%);
    box-shadow: 0 12px 28px rgba(80, 55, 70, 0.15);
}

    .help-screen-card::after {
        content: "";
        position: absolute;
        left: 18px;
        bottom: 16px;
        width: 90px;
        height: 70px;
        background-image: radial-gradient(rgba(255,255,255,.65) 2px, transparent 2px);
        background-size: 12px 12px;
        opacity: .6;
    }

.help-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.help-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b22b79;
    font-size: 34px;
    background: rgba(255,255,255,.22);
    border: 1.5px solid rgba(255,255,255,.75);
}

.help-title {
    margin: 0 0 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #241823;
}

.help-description {
    margin: 0 0 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    color: #4c3d49;
}

.help-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    margin-bottom: 14px;
    padding: 14px 15px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(80, 55, 70, 0.08);
    transition: all .25s ease;
}

    .help-item:hover {
        transform: translateY(-3px);
    }

.help-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b22b79;
    font-size: 17px;
    background: #f2d8e5;
}

.help-item-text {
    flex: 1;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.8;
    color: #2e2530;
}

.help-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #12a857;
    color: #fff;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .help-screen-card,
    .mobile-guide-card,
    .email-guide-card,
    .age-guide-card,
    .health-side-card {
        min-height: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .help-title {
        font-size: 21px;
    }

    .help-item-text {
        font-size: 13px;
    }
}

.mobile-help-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    padding: 34px 22px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #d7eef7 0%, #d9c8d2 100%);
    box-shadow: 0 14px 35px rgba(80, 55, 70, 0.18);
    direction: rtl;
    text-align: center;
}

    /* زخرفة */
    .mobile-help-card::after {
        content: "";
        position: absolute;
        left: 18px;
        bottom: 18px;
        width: 95px;
        height: 95px;
        background-image: radial-gradient(rgba(255,255,255,.55) 2px, transparent 2px);
        background-size: 13px 13px;
        opacity: .6;
    }

/* الأيقونة الرئيسية */
.mobile-help-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a92b73;
    font-size: 38px;
    backdrop-filter: blur(4px);
}

/* العنوان */
.mobile-help-title {
    font-size: 28px;
    font-weight: 900;
    color: #241823;
    margin-bottom: 12px;
}

/* الوصف */
.mobile-help-desc {
    font-size: 15px;
    line-height: 1.9;
    font-weight: 700;
    color: #4b3d48;
    margin-bottom: 28px;
}

/* الخطوات */
.mobile-help-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

/* العنصر */
.mobile-help-step {
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 18px rgba(80,55,70,.08);
    transition: all .25s ease;
    text-align: right;
}

    .mobile-help-step:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(80,55,70,.14);
    }

/* رقم الخطوة */
.step-number {
    min-width: 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #efd7e3;
    color: #a92b73;
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* النص */
.step-text {
    flex: 1;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    color: #2f2531;
}

/* أيقونة */
.step-icon {
    min-width: 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3dbe6;
    color: #a92b73;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

/* Responsive */
@media (max-width: 576px) {

    .mobile-help-card {
        padding: 26px 16px;
    }

    .mobile-help-title {
        font-size: 24px;
    }

    .step-text {
        font-size: 13px;
    }

    .mobile-help-step {
        padding: 12px;
    }
}

.email-help-card {
    background: linear-gradient(180deg, #d8f3fb 0%, #d7c2ce 100%);
}

    .email-help-card .help-icon {
        color: #b22b79;
    }

.help-note {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.55);
    text-align: right;
}

.help-note-title {
    font-size: 15px;
    font-weight: 900;
    color: #4b5563;
    margin-bottom: 10px;
}

.help-note-text {
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.9;
    color: #5f6773;
}

.age-help-card {
    background: linear-gradient(180deg, #d8f4fb 0%, #ead5df 100%);
}

    .age-help-card .help-icon {
        color: #b12d74;
    }

    .age-help-card .help-item {
        min-height: 78px;
    }

    .age-help-card .help-item-icon {
        background: #f3d7e3;
        color: #b12d74;
    }

    .age-help-card .help-check {
        background: #d9468b;
        color: #fff;
    }

.health-help-card {
    background: linear-gradient(180deg, #d9f3fb 0%, #e8d4de 100%);
}

.health-help-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.health-help-item {
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    box-shadow: 0 8px 18px rgba(80,55,70,.08);
    transition: all .25s ease;
}

    .health-help-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(80,55,70,.14);
    }

.health-check {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.health-text {
    flex: 1;
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    color: #2e2530;
}

.card-header {
    background-color: #289bc7 !important;
    color: white !important;
}


.health-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #f3d7e3;
    color: #b12d74;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

@media (max-width: 576px) {

    .health-help-item {
        padding: 12px;
    }

    .health-text {
        font-size: 13px;
    }
}