/**
 * Doctor profile — register banner CTA
 *
 * @package aldoctorz-theme
 */

.doctor-profile-reg-banner {
    --dprb-primary: #0a305e;
    --dprb-accent: #34c3db;
    padding: 2rem 0 2.5rem;
    background: #edf0f2;
}

.doctor-profile-reg-banner__card {
    background: linear-gradient(135deg, #34c3db 0%, #00507e 100%);
    background-size: cover;
    background-position: center;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
}

.doctor-profile-reg-banner__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.doctor-profile-reg-banner__card--has-bg {
    background-size: cover;
    background-position: center;
}

.doctor-profile-reg-banner__inner {
    display: flex;
    align-items: stretch;
    min-height: 280px;
    position: relative;
    z-index: 1;
}

.doctor-profile-reg-banner__content {
    flex: 1;
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-profile-reg-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-profile-reg-banner__badge i {
    color: var(--dprb-accent);
}

.doctor-profile-reg-banner__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.doctor-profile-reg-banner__subtitle {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.doctor-profile-reg-banner__description {
    margin: 0 0 1.35rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
}

.doctor-profile-reg-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    color: var(--dprb-primary);
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

.doctor-profile-reg-banner__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
    color: var(--dprb-primary);
    text-decoration: none;
}

[dir="ltr"] .doctor-profile-reg-banner__btn:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .doctor-profile-reg-banner__btn:hover i {
    transform: translateX(-4px);
}

.doctor-profile-reg-banner__btn i {
    transition: transform 0.3s ease;
}

.doctor-profile-reg-banner__illustration {
    flex: 0 0 32%;
    max-width: 340px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1rem 0 0;
}

[dir="rtl"] .doctor-profile-reg-banner__illustration {
    padding: 0 0 0 1rem;
}

.doctor-profile-reg-banner__img {
    max-width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

@media (max-width: 991px) {
    .doctor-profile-reg-banner__inner {
        flex-direction: column;
        min-height: auto;
    }

    .doctor-profile-reg-banner__content {
        padding: 1.75rem;
        text-align: center;
        align-items: center;
    }

    .doctor-profile-reg-banner__description {
        max-width: none;
    }

    .doctor-profile-reg-banner__illustration {
        flex: none;
        max-width: 100%;
        height: 180px;
        padding: 0 1rem 1rem;
    }

    .doctor-profile-reg-banner__img {
        max-height: 170px;
    }
}

@media (max-width: 576px) {
    .doctor-profile-reg-banner {
        padding: 1.25rem 0 1.75rem;
    }

    .doctor-profile-reg-banner__content {
        padding: 1.35rem;
    }

    .doctor-profile-reg-banner__btn {
        width: 100%;
        justify-content: center;
    }
}