body {
    overflow-x: hidden;
}
h1 {
    /* text-align: center; */
    margin-bottom: 20px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 32%;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.product-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-left: -2%;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.features {
    margin-bottom: 15px;
}

.features li {
    margin-bottom: 5px;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btnn {
    display: inline-block;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background-color: #30c37c;
}
/* 
.btn-green {
  background-color: #28a745;
  color: #fff;
}



.btn-blue {
  background-color: #218838;
  color: #fff;
}

.btn-blue:hover {
  background-color: #218838;
}

.btn-gray {
  background-color: #218838;
  color: #fff;
}

.btn-gray:hover {
  background-color: #218838;
} */

.subscription-history {
    background: #fff;
    border-radius: 8px;
    width: 99.5% !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    font-size: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

th {
    /* background-color: #f4f4f4; */
}

.status-f {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    color: #ff6c2f;
    font-size: 0.9rem;
    width: 100%;
}
.status-s {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    color: #30c37c !important;
    font-size: 0.9rem;
    width: 100%;
}
.status-c {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    color: #8c8c8c !important;
    font-size: 0.9rem;
    width: 100%;
}

.status-s.Active {
    background-color: #d3f3df !important;
    text-align: center;
    font-weight: bold;
}

.status-s.Inactive {
    background-color: #FFE2D5 !important;
    color: #FF6C2F !important;
    text-align: center;
    font-weight: bold;
}

.status-s.Cancelled {
    background-color: #EBEBEB !important;
    color: #8C8C8C !important;
    text-align: center;
    font-weight: bold;
}

.status-s.Success {
    background-color: #d3f3df !important;
    text-align: center;
    font-weight: bold;
}

.status-s.Failed {
    background-color: #ffe2d5;
    text-align: center;
    font-weight: bold;
}

.invoice-link {
    color: #30c37c;
    text-decoration: none;
    font-weight: bold;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

.pagination button {
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 50%;
    height: 45px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.pagination-btn.active {
    background-color: #30c37c !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 50%;
    height: 45px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prd-card {
    display: flex;
}
.valid-date {
    font-size: 11px;
}
.subscription-history h1 {
    font-size: 18px !important;
    font-weight: 600;
}

.my-product-head h1 {
    font-size: 24px !important;
    margin-bottom: 1rem !important;
    margin-top: 4rem !important;
}

.pagination-btn {
    background-color: white !important;
    color: black !important;
}
.pagination-btns {
    background-color: white !important;
    color: black !important;
}
.pagination-btns img {
    transform: rotateY(180deg);
}
.t-head {
    border-top: 1px solid #ebebeb !important;
}
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 100%;
        max-width: 700px;
    }

    .sub-his {
        position: absolute !important;
    }
}
@media (max-width: 950px) {
    .product-card {
        width: 100%;
        max-width: 900px;
    }
    .sub-his {
        position: absolute !important;
    }
    .product-card h2 {
        font-size: 1.5rem;
        color: #333;
        margin-left: -2%;
    }
}
@media (max-width: 568px) {
    .sub-his {
        position: absolute !important;
    }
}
@media (max-width: 480px) {
    .sub-his {
        position: absolute !important;
    }
}
@media (min-width: 950px) and (max-width: 1030px) {
    .product-card {
        width: 100%;
    }
    .product-card h2 {
        font-size: 1.5rem;
        color: #333;
        margin-left: -2%;
    }
}

.modal-content {
    max-width: 400px;
    margin: auto;
    border-radius: 10px !important;
}
.form-control {
    margin-bottom: 1rem !important;
}
.btn-primary {
    background-color: #30c37c !important;
    border-color: #30c37c !important;
    color: white;
}
.expiry-cvv-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.expiry-date-container {
    display: flex !important;
    gap: 10px !important;
    flex: 2 !important;
}
.expiry-date-container select,
.cvv-container input {
    flex: 1 !important;
}
.cvv-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px;
    align-items: flex-start !important;
    margin-top: -2.5rem !important;
    height: 5.5rem !important;
    flex: 1 !important;
}
select.form-control,
input.form-control {
    height: calc(2.5rem + 2px) !important;
}
.pay-mod {
    padding-bottom: 8px !important;
    padding-left: 10% !important;
}
.date-box {
    background-color: #ebebeb !important  ;
}

.circal-mod:checked {
    background-color: #30c37c !important;
    border-color: #30c37c !important;
}
.circal-mod {
    border: 2px solid black !important;
}
.modal-header h5 {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.bnone {
    color: white;
}
.price span {
    font-size: 7px !important;
}
.invoice-link img {
    width: 57%;
}

.sub-full {
    width: 100% !important;
    margin-top: 5rem;
}
.backbtn {
    background-color: #30c37c;
    color: white;
    border-radius: 10px;
    padding: 10px;
    border: none;
    width: 10%;
    
    margin-right: 89%;
}



/* .backbtn {
    background-color: #30c37c;
    color: white;
    border-radius: 10px;
    padding: 10px;
    border: none;
    width: 120px;
    max-width: 90%;
    display: block;
    margin: 10px 0;
    text-align: center;
    margin-right: 14em;
    margin-top: 75vh;
    position: fixed;
}
 */


@media (max-width: 550px) {
    .backbtn {
        width: 15%;
        margin-left: 5%;
    }
}

.btnn:hover{
color: white !important;
}