/* Pricing Tier Selection Styles */

/* Equal height tier cards - use Bootstrap's built-in flex */
.pricing-tiers-row {
    align-items: stretch;
}

.pricing-tiers-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Tier option cards */
.tier-option-card {
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-tier-option {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tier-option-card:not(.active):hover {
    border-color: #1f8bff !important;
    box-shadow: 0 4px 12px rgba(31, 139, 255, 0.15);
    transform: translateY(-2px);
}

/* Registration mode tier options */
.pricing-tier-option {
    transition: all 0.3s ease;
}

.pricing-tier-option:hover:not([data-tier="business"]) {
    border-color: #1f8bff !important;
    box-shadow: 0 4px 12px rgba(31, 139, 255, 0.15);
    transform: translateY(-2px);
}

.pricing-tier-option.selected {
    border-color: #1f8bff !important;
    background: rgba(31, 139, 255, 0.05) !important;
}

.pricing-tier-option.selected .tier-check {
    background: #1f8bff !important;
    border-color: #1f8bff !important;
}

.pricing-tier-option.selected .tier-check::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pricing-tier-option .tier-check {
    position: relative;
}

/* Badge overrides for pricing tiers */
.bg-success {
    background-color: rgba(0, 255, 170, 0.21) !important;
    color: rgb(8, 145, 99) !important;
    padding: 0.3rem 0.6rem !important;
}

.bg-warning {
    background-color: rgba(255, 132, 0, 0.21) !important;
    color: rgb(255, 94, 0) !important;
    margin: auto !important;
    padding: 0.4rem 0.7rem !important;
}

.bg-info {
    padding: 0.4rem 0.7rem !important;
}

/* CTA Button Styles for subscription actions */
.btn-subscriptions, .btn-subscriptions:focus {
    background: #007AFF !important;
    border: 2px solid #007AFF !important;
    color: white !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px color-mix(in srgb, #007AFF 10%, rgba(0, 0, 0, 0.06)) !important;
    border-radius: var(--button-border-radius) !important;
}

.btn-subscriptions::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-subscriptions:hover {
    background: color-mix(in srgb, #007AFF 85%, black) !important;
    border-color: color-mix(in srgb, #007AFF 85%, black) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px color-mix(in srgb, #007AFF 20%, rgba(0, 0, 0, 0.1)) !important;
}

.btn-subscriptions:hover::before {
    left: 100%;
}

.btn-subscriptions:active {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}
