.plan-switcher {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.plan-switcher h4 {
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

.plan-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.plan-option {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: block;
}

.plan-option:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.15);
    text-decoration: none;
    color: #333;
    transform: translateY(-2px);
}

.plan-option.active {
    border-color: #007cba;
    background: #f0f8ff;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.2);
}

.plan-option.active::before {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #007cba;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.plan-option.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.plan-option.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(0, 124, 186, 0.2);
    border-top-color: #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.plan-title {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #333;
}

.plan-price {
    font-size: 1.3em;
    font-weight: 700;
    color: #007cba;
    margin-bottom: 5px;
}

.plan-savings {
    font-size: 0.85em;
    color: #28a745;
    font-weight: 600;
    background: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.datalayer-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.datalayer-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .plan-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .plan-option {
        min-width: auto;
    }
    
    .plan-switcher {
        margin: 15px 0;
        padding: 15px;
    }
} 