/* body {
    padding-top: 40px;
} */

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #86E73F;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-weight: 700;
    font-size: 1rem;
}



.currency-selector {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 2px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    background: #f8f9fa;
    cursor: pointer;
}


.sub-title {
    color: #333;
    font-size: 0.9rem;
}

.mega-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.sub-header {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}



.currency-selector {
    position: relative;
    z-index: 1051;
}



@media (max-width: 768px) {
    .dropdown-menu.mega-dropdown {
        width: auto;
    }
}

@media (max-width: 576px) {
    .top-banner {
        font-size: 0.8rem;
        padding: 5px 0;
    }

    .currency-selector {
        font-size: 0.8rem;
        padding: 2px 5px;
    }

}


/* start cloud vps */
.vtext a {
    color: rgb(27, 139, 208);
    font-weight: bold;
}

.vtext span {
    color: slategray;
    font-weight: bold;
}

.mt--5 {
    margin-top: 1rem;
}

.vps-box {
    background-color: #86E73F;
    color: black;
    border-radius: 5px;
    text-align: center;
    font-size: 0.8rem;

}

.mega-dropdown {
    min-width: 100%;
}

@media (min-width: 992px) {
    .mega-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        background-color: #fff;
        width: auto;
        border: 1px solid #ddd;
    }

    .nav-item.dropdown:hover .mega-dropdown {
        display: block;
    }
}

.mb--5 {
    margin-bottom: 2rem;
}

.storage h6 {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}


.term-box input[type="radio"]:checked+.card {
    border: 2px solid #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .15);
}

.term-box .card:hover {
    cursor: pointer;
    background-color: #f9f9f9;
}

/* start discount */
.plan-card {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    transition: border 0.3s, box-shadow 0.3s;
    height: 100%;
    border-bottom: 3px solid #bbb;
    cursor: pointer;
}


.duration-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    background-color: white;
    color: #0c4a6e;
    padding: 2px 8px;

}
@media(max-width:576px){
    .storage-box p{
        font-size: 0.8rem;
    }
    .sub-header{
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    .top-banner{
        padding: 5px 0;
        font-size: 0.8rem
    }
}


.plan-card input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.4);
}

.plan-card.active {
    border-color: #dc3545;
    border-bottom: 3px solid #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(253, 21, 13, 0.15);
}

.discount-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #d1fae5;
    color: #047857;
    padding: 2px 8px;
    border-radius: 20px;
}


.best-value-badge {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffc107;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
}
@media(max-width:576px){
    .best-value-badge{
       display: none;
    }
}

.strike-text {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    text-decoration-color: red;
}

input[type="radio"] {
    accent-color: #dc3545;
}

.region-card {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.region-card.active {
    border-color: #dc3545;
}

.region-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.latency-badge {
    background: #fff3cd;
    color: #856404;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #ffeeba;
}

.latency-best {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.save-text {
    color: red;
    font-weight: bold;
    font-size: 14px;
}

.price-old {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
    margin: 0 5px;
}

.price-new {
    font-weight: bold;
    font-size: 16px;
    color: #000;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 1px solid #f22f57;
    border-color: #f22f57;
}

.form-check-input:checked {
    background-color: #f22f57 !important;
    border-color: #f22f57 !important;
}

.region-name {
    font-weight: 600;
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.quantity-selector input {
    width: 50px;
    height: 36px;
    font-size: 16px;
}

@media (max-width: 576px) {
    .region-card .row>div {
        margin-bottom: 10px;
    }

    .quantity-selector {
        justify-content: center;
        margin-top: 10px;
    }

    .latency-badge {
        font-size: 11px;
    }

    .price-new,
    .price-old,
    .save-text {
        font-size: 13px;
    }
}