.plan-selection .plan-dropdown {
    position: relative;
}

.plan-selection .plan-dropdown-toggle {
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #fff;
}

.plan-selection .plan-dropdown-toggle:hover {
    border-color: #a1afdf;
}

.plan-selection .plan-dropdown-toggle:focus {
    color: #607080;
    background-color: #fff;
    border-color: #a1afdf;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(67, 94, 190, 0.25);
}

.plan-selection .plan-dropdown-toggle[aria-expanded="true"] {
    border-color: #a1afdf;
    box-shadow: 0 0 0 0.25rem rgba(67, 94, 190, 0.25);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.plan-selection .plan-dropdown-toggle .dropdown-arrow {
    transition: transform 0.2s ease;
}

.plan-selection .plan-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.plan-selection .plan-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    margin-top: -1px;
    background: #fff;
    border: 1px solid #a1afdf;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
}

.plan-selection .plan-dropdown-menu.show {
    display: block;
}

.plan-selection .plan-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

.plan-selection .plan-option:last-child {
    border-bottom: none;
}

.plan-selection .plan-option:hover,
.plan-selection .plan-option.focused {
    background-color: #f8f9fa;
}

.plan-selection .plan-option.selected {
    background-color: #f0f4ff;
}

.plan-selection .plan-option.selected.focused {
    background-color: #e0e8ff;
}

.plan-selection .plan-content {
    padding: 0.75rem 1rem;
}

.plan-selection .plan-header h6 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.plan-selection .badge {
    font-size: 0.75rem;
    padding: 0.25em 0.5em;
}

.plan-selection .price-display {
    font-size: 1.25rem;
    font-weight: 600;
}

.plan-selection .plan-specs {
    margin-top: 0.5rem;
}

.plan-selection .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-selection .storage-card {
    margin-top: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #fff;
}

.plan-selection .storage-card .plan-content {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

.plan-selection .storage-card .storage-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 0.25rem;
    color: #6c757d;
}

.plan-selection .storage-card .storage-icon .bi::before {
    vertical-align: top;
}
