.membership-content {
    padding: 70px 0;
    background-color: #fff;
}

.membership-levels {
    margin-bottom: 40px;
}

.membership-levels h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.membership-levels ul {
    list-style-type: none;
    padding: 0;
}

.membership-levels li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #555;
}

.download-benefits h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.download-benefits table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.download-benefits th,
.download-benefits td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
}

.download-benefits th {
    background-color: #f7f9fe;
    color: #333;
    font-weight: 600;
}

.download-benefits tr:nth-child(even) {
    background-color: #f9f9f9;
}

.download-benefits tr:hover {
    background-color: #f0f7ff;
}

.note {
    font-style: italic;
    color: #666;
    margin-top: 20px;
    padding: 10px;
    background-color: #f7f9fe;
    border-radius: 6px;
    border-left: 3px solid #5260ff;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.vip-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    color: white;
}

.vip1-badge {
    background-color: #4099ff;
}

.vip2-badge {
    background-color: #5cb85c;
}

.svip-badge {
    background-color: #ff6b6b;
}
/* Subscription dialog styles */

.subscription-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.subscription-dialog-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: dialog-show 0.3s ease forwards;
    max-height: 90vh;
    overflow-y: auto;
}

.subscription-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.subscription-dialog-header h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.subscription-dialog-body {
    padding: 20px;
}

.subscription-dialog-body p {
    margin: 0 0 20px;
    color: #555;
    font-size: 16px;
}

.subscription-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.subscription-option {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
    overflow: hidden;
}

.subscription-option:hover {
    border-color: #5260ff;
    box-shadow: 0 5px 15px rgba(82, 96, 255, 0.1);
    transform: translateY(-2px);
}

.subscription-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.subscription-option input[type="radio"]:checked+label {
    background-color: #f0f7ff;
    border-color: #5260ff;
}

.subscription-option input[type="radio"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #5260ff;
}

.subscription-option label {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.subscription-option i {
    font-size: 24px;
    margin-right: 15px;
}

.subscription-option-info {
    flex: 1;
}

.subscription-option-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.subscription-option-desc {
    display: block;
    font-size: 14px;
    color: #666;
}

.subscription-option-price {
    font-weight: bold;
    font-size: 18px;
    color: #ff6b6b;
}

.recommended {
    border: 2px solid #5cb85c;
}

.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #5cb85c;
    color: white;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: bold;
    border-bottom-left-radius: 8px;
    z-index: 1;
}
/* Loading state styles */

.fa-spinner {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.subscribe-confirm-btn:disabled {
    background-color: #a0a7e4;
    cursor: not-allowed;
}

.subscription-action {
    text-align: center;
}

.subscribe-confirm-btn {
    background-color: #5260ff;
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 15px;
}

.subscribe-confirm-btn:hover {
    background-color: #4251e8;
}

.subscription-terms {
    font-size: 12px;
    color: #888;
}

.subscription-terms a {
    color: #5260ff;
    text-decoration: none;
}

.subscription-terms a:hover {
    text-decoration: underline;
}

.subscription-option.checked {
    border: 2px solid #5260ff;
    border-radius: 5px;
    border-color: #5260ff;
    background-color: #e8f3ff;
}
@media (max-width: 768px) {
    .subscription-option label {
        flex-direction: column;
        align-items: flex-start;
    }
    .subscription-option i {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .subscription-option-price {
        margin-top: 10px;
        align-self: flex-end;
    }
}