/* Trade Subscriptions CSS */
.subscription-buttons {
    max-width: 800px;
    margin: 20px auto;
}
.gc-plan-info {
    flex: 1;
}

.gc-plan-actions {
    flex: 1;
    text-align: right;
}

.gc-plan-card {
    gap: 30px;
    align-items: flex-end;
}

.gc-reactivate-section {
    justify-content: end;
}
.subscription-plans {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.subscription-plan {
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.subscription-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.subscription-plan.yearly {
    border-color: #007cba;
    background: #f0f8ff;
    position: relative;
}

.subscription-plan.yearly::before {
    content: "BEST VALUE";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.subscription-plan h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #007cba;
    margin: 15px 0;
}

.price span {
    font-size: 16px;
    color: #666;
}

.savings {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    margin: 10px 0;
    display: inline-block;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.features li {
    padding: 8px 0;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.subscription-btn {
    /* background: #007cba;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px; */
}

.subscription-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.subscription-btn.featured {
    background: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.subscription-btn.featured:hover {
    background: #1e7e34;
}

.subscription-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.subscription-status {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    max-width: 500px;
}

.status-details p {
    margin: 10px 0;
}

.status.active {
    color: #28a745;
    font-weight: bold;
}

.status.cancelled, .status.canceled {
    color: #dc3545;
    font-weight: bold;
}

.status.pending {
    color: #ffc107;
    font-weight: bold;
}

.cancel-subscription-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cancel-subscription-btn:hover {
    background: #c82333;
}

.cancel-subscription-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 768px) {
    .subscription-plans {
        flex-direction: column;
        align-items: center;
    }

    .subscription-plan {
        min-width: 280px;
        max-width: 400px;
    }
}
    background: #ccc;
    cursor: not-allowed;
}

/* Loading state */
.subscription-btn.loading {
    position: relative;
    color: transparent;
}

.subscription-btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .subscription-plans {
        flex-direction: column;
        align-items: center;
    }

    .subscription-plan {
        min-width: 280px;
        max-width: 400px;
    }
}
