/**
 * Physician Consult Upsell Card Styles
 * Matches mockup layout: Icon left, content spans with price/button bottom-right inline
 */

.physician-consult-upsell-side-cart {
    margin: 20px 0;
    padding: 0 16px;
}

.physician-consult-upsell-card {
    background: transparent;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header Row */
.physician-consult-upsell-card .upsell-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 0;
}

.physician-consult-upsell-card .upsell-header-text {
    font-size: 11px;
    font-weight: 800;
    color: #6B7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    flex: 1;
}

.physician-consult-upsell-card .upsell-learn-more {
    font-size: 13px;
    color: #4FB09A !important;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.physician-consult-upsell-card .upsell-learn-more:hover {
    text-decoration: underline !important;
    color: #45A088 !important;
}

/* Options Container */
.physician-consult-upsell-card .upsell-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Option Box - Grid layout */
.physician-consult-upsell-card .upsell-option {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 14px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    transition: all 0.2s ease;
    cursor: pointer;
}

.physician-consult-upsell-card .upsell-option:hover {
    border-color: #4FB09A;
    box-shadow: 0 2px 8px rgba(79, 176, 154, 0.15);
}

/* Icon - spans first column, both rows */
.physician-consult-upsell-card .option-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E8F5F1;
    flex-shrink: 0;
}

.physician-consult-upsell-card .video-icon {
    background: #E3F2FD;
}

.physician-consult-upsell-card .option-icon svg {
    width: 26px;
    height: 26px;
}

/* Content - top right */
.physician-consult-upsell-card .option-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.physician-consult-upsell-card .option-label {
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 6px;
}

.physician-consult-upsell-card .live-badge {
    display: inline-flex;
    background: #2196F3;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.physician-consult-upsell-card .option-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

/* Actions - price LEFT, button RIGHT */
.physician-consult-upsell-card .option-actions {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
}

.physician-consult-upsell-card .option-price {
    font-size: 24px;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1;
    display: flex;
    align-items: center;
}

.physician-consult-upsell-card .option-add {
    background: #4FB09A;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.physician-consult-upsell-card .option-add:hover {
    background: #45A088;
    transform: translateY(-1px);
}

.physician-consult-upsell-card .option-add:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
}

/* Icon colors */
.physician-consult-upsell-card .option-icon svg path,
.physician-consult-upsell-card .option-icon svg circle {
    stroke: #4FB09A;
}

.physician-consult-upsell-card .video-icon svg path,
.physician-consult-upsell-card .video-icon svg rect {
    stroke: #2196F3;
}

.physician-consult-upsell-card .video-icon svg path:first-child {
    fill: #2196F3;
    stroke: none;
}

/* Mobile */
@media (max-width: 480px) {
    .physician-consult-upsell-card .upsell-option {
        padding: 12px;
        gap: 10px 12px;
    }
    
    .physician-consult-upsell-card .option-icon {
        width: 44px;
        height: 44px;
    }
    
    .physician-consult-upsell-card .option-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .physician-consult-upsell-card .option-price {
        font-size: 18px;
    }
    
    .physician-consult-upsell-card .option-add {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* ============================================
   CHECKOUT PAGE STYLES - Compact Horizontal
   ============================================ */

.physician-consult-checkout-upsell {
    border-top: 2px solid #4FB09A;
    padding: 16px 0 0 0;
    margin: 16px 0 0 0;
    background: transparent;
}

.checkout-upsell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.checkout-upsell-header strong {
    font-size: 14px;
    font-weight: 700;
    color: #002D56;
}

.upsell-learn-more-checkout {
    font-size: 12px;
    color: #4FB09A !important;
    text-decoration: none;
    font-weight: 600;
}

.upsell-learn-more-checkout:hover {
    text-decoration: underline !important;
}

.checkout-upsell-description {
    font-size: 12px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.checkout-upsell-options {
    display: flex;
    gap: 12px;
}

.checkout-upsell-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-upsell-option:hover {
    border-color: #4FB09A;
    background: #f9fffe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 176, 154, 0.15);
}

.checkout-option-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #002D56;
}

.checkout-option-label svg {
    flex-shrink: 0;
}

.live-badge-mini {
    display: inline-block;
    background: #5B9BD5;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 3px;
    line-height: 1;
    vertical-align: middle;
}

.checkout-option-price {
    font-size: 18px;
    font-weight: 700;
    color: #4FB09A;
}

.checkout-option-add {
    width: 100%;
    padding: 8px 12px;
    background: #4FB09A;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkout-option-add:hover {
    background: #45A088;
}

.checkout-option-add:active {
    transform: scale(0.98);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .checkout-upsell-options {
        flex-direction: column;
    }
    
    .checkout-upsell-option {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .checkout-option-add {
        width: auto;
        padding: 6px 16px;
    }
}
