/* Upgrade Panel Styles */

/* Upgrade Section - for shared trip page */
.upgrade-section {
    background: #f8f9fa;
    border-radius: 12px;
    margin: 30px 0;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.upgrade-container {
    padding: 0;
}

.upgrade-header-section {
    background: linear-gradient(135deg, #4a6fdb 0%, #1a3066 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.upgrade-header-section h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.4;
    font-family: 'Fredoka', sans-serif;
}

.upgrade-panel {
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default, will be shown with JS */
    margin-bottom: 30px;
}

.upgrade-panel-header {
    background: #3366aa;
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.upgrade-panel-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.4;
}

.upgrade-panel-body {
    padding: 20px;
    background: #f0f8ff;
}

/* Tier Comparison Layout */
.tier-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.tier-column {
    flex: 1;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #e1e8ed;
}

.tier-column:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Remove redundant style that's already applied above */



/* Business Class Specific */
.tier-column.business-class {
    border: 2px solid #3366aa;
}

/* First Class Specific */
.tier-column.first-class {
    border: 2px solid #3366aa;
}

/* Tier Best Value Tag */
.tier-best-value {
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 2;
    background: #ffd700;
    color: #333;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-bottom-left-radius: 8px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.1);
}

.tier-value-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #eee;
    color: #555;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.micro-text {
    font-size: 0.7rem;
    color: #777;
    margin-top: 8px;
    text-align: center;
}

.health-disclaimer {
    color: #666;
    font-size: 0.8em;
    margin-left: 5px;
    cursor: help;
}

/* Tier Headers */
.tier-header {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #e1e8ed;
    background: #f7f9fc;
}

.tier-icon {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.tier-header h4 {
    color: #3366aa;
    margin: 10px 0;
    font-weight: 700;
    font-size: 1.6rem;
}

.tier-price-container {
    margin: 12px 0;
}

.tier-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
}

.tier-price-period {
    font-size: 1rem;
    color: #666;
}

.tier-tagline {
    color: #4ecdc4;
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Tier Features */
.tier-features {
    padding: 20px 15px;
}

.tier-feature {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tier-feature i {
    font-size: 1rem;
    min-width: 20px;
    color: #4ECDC4;
    margin-top: 3px;
}

.tier-feature span {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Tier CTA Button */
.tier-cta {
    margin-top: 25px;
    text-align: center;
    padding: 0 10px 10px;
}

.tier-btn {
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    width: 100%;
    font-size: 1rem;
}

.tier-btn.business-btn {
    background: #3366aa;
}

.tier-btn.business-btn:hover {
    background: #2a559e;
}

.tier-btn.first-class-btn {
    background: #FF7043; /* Darker orange that passes WCAG AA */
    color: #FFF; /* Pure white text for maximum contrast */
}

.tier-btn.first-class-btn:hover {
    background: #F45B36;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tier-comparison {
        flex-direction: column;
    }
    
    .tier-column {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        border-radius: 12px;
    }
    
    .upgrade-panel-header h3 {
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .tier-header {
        padding: 15px 10px;
    }
    
    .tier-header h4 {
        font-size: 1.8rem;
        margin: 8px 0;
    }
    
    .tier-price {
        font-size: 2.2rem;
    }
    
    .tier-tagline {
        font-size: 1rem;
        color: #4ecdc4;
        margin: 8px 0 0;
    }
    
    .tier-features {
        padding: 12px 10px;
    }
    
    .tier-feature {
        padding: 6px 0;
    }
    
    .tier-btn {
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 30px;
    }
    
    .micro-text {
        margin-top: 5px;
        font-size: 0.65rem;
    }
    
    .tier-best-value {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}