@charset "UTF-8";

.toggle-wrapper {
    background-color: var(--primary);
    /* كحلي */
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.toggle-btn {
    color: var(--white);
    background: transparent;
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: var(--accent);
    /* ذهبي */
    color: var(--primary);
}


.program-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 1rem;
}

/* الصورة */
.program-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
}

.program-img__image {
    border-radius: 12px;
    object-fit: cover;
    height: auto;
    width: 100%;
}

/* النص */
.program-content {
    flex: 1 1 0;
    min-width: 0;
}

.program-header-text,
.program-description {
    font-size: 1rem;
    line-height: 1.7;
}

/* 📱 للأجهزة الصغيرة (جوالات) */
@media (max-width: 768px) {
    .program-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .program-img {
        max-width: 100%;
    }

    .program-content {
        width: 100%;
        text-align: center;
    }
}

/* 💻 للأجهزة الكبيرة (ديسكتوب) */
@media (min-width: 769px) {
    .program-header-text {
        font-size: 1.2rem;
    }

    .program-description {
        font-size: 1rem;
    }
}

/*  */
.package-card {
    color: var(--white);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    min-height: 360px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left !important;
}

.package-card-inner {
    height: 100%;
}

.rtl .package-card {
    text-align: right !important;
}

.package-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Package Badge */
.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.package-blue {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.package-title {
    color: var(--accent);
    font-weight: 700;
}

.text-gold {
    color: var(--accent);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--accentHover);
    transform: scale(1.05);
}

.btn-outline-gold {
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.program-wrapper .cs_transition_3 {
    padding: 20px;
}

.program-wrapper .cs_accordian_body {
    padding: 20px;
    color: var(--secondary);
}

.type-badge {
    border-radius: 0.25rem;
    font-size: 0.8rem;
}

/* modal subscribe */
.subscribeModal .nav-pills .nav-link {
    background-color: transparent;
    border-left: 2px solid var(--accent);
    padding: 15px;
    text-align: left;
}

.subscribeModal .nav-pills .nav-link small {
    font-size: 11px;
}

.subscribeModal .nav-pills .nav-link.active {
    background-color: var(--linearBackgroundCard);
    border-left: 4px solid var(--accent);
    color: var(--accent) !important;
}

.subscribeModal .nav-pills .nav-link {
    cursor: not-allowed;
    /* تمنع التفاعل بالماوس */
    pointer-events: none;
    /* تمنع النقر كليًا */
}

/* استثناء التاب النشط في كل مرة */
.subscribeModal .nav-pills .nav-link.active {
    cursor: default;
    pointer-events: auto;
}

/* 🚫 لو الكلاس tab-manual مضاف، نرجع الستايل العادي حتى لو active */
.subscribeModal .nav-pills .nav-link.active.tab-manual {
    background-color: transparent !important;
    border-left: 2px solid var(--accent) !important;
    color: var(--accent) !important;
}

.subscribeModal .card {
    border-radius: 10px;
}

.subscribeModal .btn-warning {
    background-color: var(--accent);
    color: var(--primary);
    border: none;
}

.subscribeModal .btn-warning:hover {
    background-color: var(--accent);
}

.subscribeModal .tab-type h6,
p,
label {
    color: var(--white);
}

.subscribeModal .type-card-wrapper {
    display: block;
    position: relative;
    cursor: pointer;
}

.subscribeModal .type-card-wrapper .type-radio {
    display: none;
}

.subscribeModal .type-card {
    background-color: var(--linearBackgroundCard);
    border: 2px solid var(--accent);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-top: 20px;
}

.subscribeModal .check-icon {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--accent);
    color: var(--primary);
    font-size: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
}

.subscribeModal .type-radio:checked+.type-card {
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.subscribeModal .type-radio:checked+.type-card .check-icon {
    display: block;
}

.subscribeModal .modal-content {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 10px;
}

/* 🎯 Responsive */
@media (max-width: 768px) {
    .subscribeModal .book-body .nav-pills {
        flex-direction: row !important;
        justify-content: space-between;
        margin-bottom: 20px;
        overflow-x: auto;
        border-bottom: 1px solid var(--accent);
    }

    .subscribeModal .book-body .nav-pills .nav-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        text-align: center;
        font-size: 13px;
        padding: 10px;
    }

    .subscribeModal .book-body .nav-pills .nav-link.active {
        border-bottom: 3px solid var(--accent);
        background-color: transparent;
    }
}

.type-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    min-height: 300px;
}

.type-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.type-card-label input:checked+.type-card {
    border-color: var(--accent);
    background-color: var(--accentSoft);
}

.check-icon {
    display: none;
    color: var(--accent);
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.type-card-label input:checked+.type-card .check-icon {
    display: block;
}

.type-card-label {
    cursor: pointer;
    height: 100%;
}

.type-card-wrapper {
    margin-bottom: 1rem;
}
