/* ==========================================================================
   CV36 - PLAN SELECTOR
   ========================================================================== */
.plan-selector-container {
    background: transparent;
    padding: 20px 0;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.ps-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.ps-icon-shield {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
    color: var(--accent-green, #10B981);
}

.ps-title {
    color: #FFF;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.ps-pills-wrapper {
    margin-bottom: 40px;
    position: relative;
}

.ps-pills-scroll {
    display: flex;
    gap: 14px;
    /* Mobile scroll */
    overflow-x: auto;
    padding: 10px 20px; /* For scrollbar breathing room and glow */
    margin: 0 -20px; /* Offset padding */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ps-pills-scroll::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .ps-pills-scroll {
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: visible;
        padding: 10px 0;
        margin: 0;
    }
}

.ps-pill {
    background: rgba(30, 41, 59, 0.4);
    border: 2px solid var(--accent-green, #10B981);
    border-radius: 16px;
    padding: 18px 10px;
    color: #FFF;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1);
}

.ps-pill:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.2), inset 0 0 10px rgba(16, 185, 129, 0.2);
}

.ps-pill-val {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.ps-pill-unit {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.ps-check {
    position: absolute;
    top: 6px;
    right: 6px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selected State */
.ps-pill.selected {
    background: var(--accent-green, #10B981);
    border-color: var(--accent-green, #10B981);
    color: #0F1722;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.ps-pill.selected .ps-pill-unit {
    color: rgba(15, 23, 34, 0.85);
}

.ps-pill.selected .ps-check {
    opacity: 1;
    transform: scale(1);
    color: #0F1722;
}

/* Confirm Button */
.ps-confirm-btn {
    width: 100%;
    padding: 20px;
    border-radius: 14px;
    border: none;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 24px;
    background: linear-gradient(180deg, #34D399 0%, #10B981 100%);
    color: #0F1722;
}

.ps-confirm-btn:disabled {
    background: rgba(30, 41, 59, 0.8);
    color: rgba(255,255,255,0.3);
    cursor: not-allowed;
    box-shadow: none;
}

.ps-confirm-btn:not(:disabled) {
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.ps-confirm-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
    filter: brightness(1.1);
}

/* Footer Link */
.ps-footer {
    text-align: center;
}

.ps-skip-link {
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.2);
    text-underline-offset: 6px;
    transition: all 0.2s ease;
}

.ps-skip-link:hover {
    color: rgba(255,255,255,0.8);
    text-decoration-color: rgba(255,255,255,0.5);
}
