.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.subscription-plans {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.plan {
    flex: 1 1 250px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.plan h3 {
    color: #333;
    margin-bottom: 10px;
}

.plan .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #4CAF50;
}

.plan ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan ul li img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.plan-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.plan-btn:hover {
    background-color: #45a049;
}

#checkoutDetails {
    margin-bottom: 20px;
}

#paymentForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-options {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

#creditCardFields,
#upiFields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#creditCardFields input,
#upiFields input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#confirmPayment {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#confirmPayment:hover {
    background-color: #45a049;
}

#closeConfirmation {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

#closeConfirmation:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .subscription-plans {
        flex-direction:  column;
    }
}