/* Membership Plans Styles */
.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2d3748;
}

.pricing-card .price {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 20px;
}

.pricing-card hr {
    margin: 20px 0;
    border-color: #e2e8f0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: #4a5568;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid #2d3748;
    color: #2d3748;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-dark:hover {
    background: #2d3748;
    color: #fff;
}

.btn-dark {
    background: #2d3748;
    border: 2px solid #2d3748;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-dark:hover {
    background: #1a202c;
    border-color: #1a202c;
}

/* Modal Styles */
.membership-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #2d3748;
}

.billing-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.billing-option {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    flex: 1;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.billing-option:hover {
    border-color: #4299e1;
}

.billing-option.selected {
    border-color: #4299e1;
    background-color: #ebf8ff;
}

.billing-option input[type="radio"] {
    display: none;
}

.billing-option input[type="radio"]:checked + label {
    font-weight: bold;
    color: #4299e1;
}

.billing-option input[type="radio"]:checked ~ .price {
    color: #4299e1;
}

.billing-option label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.billing-option .price {
    font-size: 16px;
    color: #4a5568;
}

.btn-primary {
    background: #4299e1;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #3182ce;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

/* Account Page Styles */
.membership-details {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.membership-details p {
    margin-bottom: 10px;
    color: #4a5568;
}

.membership-details strong {
    color: #2d3748;
}

.cancel-membership {
    margin-top: 20px;
    background: #e53e3e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cancel-membership:hover {
    background: #c53030;
    text-decoration: none;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .billing-options {
        flex-direction: column;
    }
    
    .billing-option {
        margin: 10px 0;
    }
    
    .row.g-4 {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .col-md-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Bootstrap-like Grid System (if Bootstrap is not available) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Animation Classes */
.animate {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
}

.step-left {
    animation-name: stepLeft;
    animation-timing-function: ease-out;
}

@keyframes stepLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* WPSwings Compatibility Styles */
.wps-sfw-subscription-details-wrapper {
    margin-top: 20px;
}

.wps-sfw-subscription-inner-detail {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.wps-sfw-subscription-inner-detail h4 {
    margin-top: 0;
    color: #2d3748;
}

.wps-sfw-subscription-inner-detail p {
    margin-bottom: 10px;
    color: #4a5568;
}

.wps-sfw-subscription-cancel-button {
    background: #e53e3e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wps-sfw-subscription-cancel-button:hover {
    background: #c53030;
    text-decoration: none;
    color: #fff;
}