﻿
body {
    font-size: 14px;
}

img {
    max-width: 100%;
    height: auto;
}

hr.new5 {
    border: 0;
    height: 4px;
    background: #b52023;
    margin: 25px 0;
}

/* ================== SUBSCRIPTION CARD ================== */
.subscription-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

    .subscription-card:hover {
        transform: translateY(-6px);
    }

.card-image {
    margin-bottom: 15px;
}

.main-price {
    font-size: 28px;
    font-weight: 700;
    color: #b40000;
}

    .main-price span {
        font-size: 15px;
        color: #555;
    }

.sub-note {
    font-size: 13px;
    color: #777;
}

.action a {
    display: block;
    background: #b40000;
    color: #fff !important;
    padding: 18px;
    border-radius: 10px;
    font-size: 16px;
    text-decoration: none;
    transition: .2s;
    font-weight: bold;
}

    .action a:hover {
        background: #930000;
        cursor: pointer;
    }

/* ================== MODAL ================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    padding: 2px 20px 20px 20px;
    animation: scaleIn .3s ease;
    direction: rtl;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0px;
}

    .modal-header h1 {
        font-size: 26px;
        color: #b40000;
    }

    .modal-header .close {
        padding: 1rem 1rem;
        margin: unset !important;
    }

.close {
    font-size: 26px;
    cursor: pointer;
}

/* Plans */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    direction: rtl;
}

.plan {
    background: #fff;
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #eee;
    transition: all 0.25s ease;
}

    .plan:hover {
        border-color: #c62828;
        transform: translateY(-3px);
    }

    .plan.active {
        border-color: #c62828;
        background: #fff5f5;
    }

.duration {
    font-size: 20px;
    font-weight: 600;
}

.price {
    font-size: 20px;
    font-weight: 800;
    color: #c62828;
}

.plan.premium {
    border-color: #c62828;
    background: linear-gradient(180deg, #fff5f5, #ffffff);
}

.pay-btn {
    margin-top: 15px;
    width: 100%;
    padding: 13px;
    font-size: 18px;
    background: #b40000;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

body.modal-open {
    overflow: hidden;
}

@keyframes pop {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-box {
    animation: pop 0.4s ease;
}

.apps a {
    margin: 3px 12px 20px 12px !important
}

@media (max-width: 576px) {
    .modal-box {
        margin: 10px;
    }
}

@media (max-width: 600px) {
    .modal-box {
        width: 95%;
        padding: 20px;
    }
}

.row {
    margin: unset;
}


.h5_Style {
    font-size: 18px;
    direction: rtl;
    color: #b52023;
    margin: 12px;
    line-height: 23px;
}

.listOptions {
    direction: rtl;
    text-align: right;
    display: inline-block;
    font-size: 18px;
}


.listStyleDecorationNone{
    list-style-type:none;
}