/* ============================================
   SELECT PLAN - Exact ChatGPT Style
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ib-select-plan-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: white !important;
    color: #1f2937;
    min-height: 100vh;
}

.ib-plan-header {
    padding: 16px 0;
	background: none!important
}
/* @media (prefers-color-scheme: dark) {
	.ib-plan-header {
	background-color: none!important;
	}} */
.ib-header-inner {
    max-width: 1200px;
    padding: 0 24px;
}

.ib-logo-link {
    display: inline-block;
}

.ib-logo {
    height: 32px;
    width: auto;
}

.ib-plan-content {
    padding: 48px 24px;
}

.ib-plan-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.ib-plan-left {
    max-width: 620px;
}

.ib-main-title {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 32px;
}

.ib-plan-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.ib-plan-card {
    flex: 1;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.ib-plan-card:hover {
    border-color: #d1d5db;
}

.ib-plan-card.active {
    border-color: #0047FF;
}

/* BADGE EN DEHORS DE LA CARTE */
.ib-save-badge {
    position: absolute;
    top: -12px;
    left: 16px;
    background: #10b981;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
}



.ib-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ib-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* RADIO BUTTON AVEC CHECKMARK NOIR */
.ib-radio-circle {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-radio-circle.active {
    border-color: #000000;
    background: #000000;
}

.ib-radio-circle.active::after {
    content: '✓';
    position: absolute;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}



.ib-card-price {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.ib-card-period {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.ib-card-savings {
    font-size: 13px;
    color: #0047FF;
    margin-bottom: 16px;
    font-weight: 500;
}

/* FEATURES AVEC POINTS GRIS FONCÉ */
.ib-card-features {
    list-style: none;
}

.ib-card-features li {
    font-size: 14px;
    color: #4b5563;
    padding-left: 24px;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.5;
}

.ib-card-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.ib-payment-section {
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.ib-section-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.ib-payment-note {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.ib-plan-right {
    position: sticky;
    top: 24px;
    align-self: start;
}

.ib-summary-box {
    background: transparent;
    border: none;
    padding: 0;
}

.ib-summary-title {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 32px;
}

.ib-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.ib-summary-label {
    font-size: 14px;
    color: #6b7280;
}

.ib-summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.ib-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ib-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.ib-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.ib-summary-note {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ib-proceed-btn {
    width: 100%;
    padding: 14px;
    background: #0047FF;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.ib-proceed-btn:hover {
    background: #0039cc !important;
	color : white !important;
}

.ib-cancel-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ib-cancel-btn:hover {
    background: #fff !important;
    border-color: #d1d5db !important;
}

/* DARK MODE */
/* @media (prefers-color-scheme: dark) {
    .ib-select-plan-page {
        background: #111827;
        color: #f9fafb;
    }
    
    .ib-plan-header {
        background: #1f2937;
        border-bottom-color: #374151;
    }
    
    .ib-main-title,
    .ib-card-title,
    .ib-card-price,
    .ib-section-subtitle,
    .ib-summary-title,
    .ib-summary-value,
    .ib-total-label,
    .ib-total-value {
        color: #f9fafb;
    }
    
    .ib-plan-card {
        background: #1f2937;
        border-color: #374151;
    }
    
    .ib-plan-card:hover {
        border-color: #4b5563;
    }
    
    .ib-plan-card.active {
        border-color: #0047FF;
    }
    
    .ib-card-body {
        border-top-color: #374151;
    }
    
    .ib-card-period,
    .ib-payment-note,
    .ib-summary-label {
        color: #9ca3af;
    }
    
    .ib-card-features li {
        color: #d1d5db;
    }
    
 
    .ib-card-features li::before {
        color: #9ca3af;
    }
    
    .ib-payment-section,
    .ib-summary-total {
        border-color: #374151;
    }
    
 
    .ib-radio-circle {
        border-color: #4b5563;
    }
    
    .ib-radio-circle.active {
        border-color: #0047FF;
        background: #0047FF;
    }
    
    .ib-cancel-btn {
        border-color: #374151;
        color: #9ca3af;
    }
    
    .ib-cancel-btn:hover {
        background: #374151;
        border-color: #4b5563;
    }
} */

@media (max-width: 1024px) {
    .ib-plan-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .ib-plan-right {
        position: static;
    }
}

@media (max-width: 768px) {
    .ib-plan-content {
        padding: 32px 16px;
    }
    
    .ib-main-title,
    .ib-summary-title {
        font-size: 24px;
    }
    
    .ib-plan-cards {
        flex-direction: column;
    }
}


/* Mac/High-DPI desktops - SELECT PLAN PAGE */
@media only screen 
  and (min-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2),
  only screen 
  and (min-width: 1024px) 
  and (min-resolution: 192dpi) {

    /* Header plus compact */
    .ib-plan-header {
        padding: 10px 0 !important;
    }

    .ib-logo {
        height: 28px !important;
    }

    /* Content principal */
    .ib-plan-content {
        padding: 30px 24px !important;
    }

    /* Container grid */
    .ib-plan-container {
        gap: 24px !important;
        grid-template-columns: 1fr 340px !important;
    }

    /* Titre principal */
    .ib-main-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    /* Cards container */
    .ib-plan-cards {
        gap: 16px !important;
        margin-bottom: 24px !important;
    }

    /* Cards */
    .ib-plan-card {
        padding: 16px !important;
        border-radius: 10px !important;
    }

    .ib-save-badge {
        top: -10px !important;
        padding: 3px 8px !important;
        font-size: 10px !important;
    }

    .ib-card-title {
        font-size: 14px !important;
    }

    .ib-radio-circle {
        width: 18px !important;
        height: 18px !important;
    }

    .ib-radio-circle.active::after {
        font-size: 11px !important;
    }

    .ib-card-price {
        font-size: 20px !important;
        margin-bottom: 2px !important;
    }

    .ib-card-period {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    .ib-card-savings {
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }

    /* Features list - RÉDUCTION IMPORTANTE */
    .ib-card-features li {
        font-size: 12px !important;
        padding-left: 18px !important;
        margin-bottom: 5px !important;
        line-height: 1.4 !important;
    }

    .ib-card-features li::before {
        font-size: 16px !important;
    }

    /* Inline style override pour le margin-top:49px */
    .ib-card-features[style*="margin-top"],
    ul[style*="margin-top:49px"] {
        margin-top: 34px !important;
    }

    /* Payment section */
    .ib-payment-section {
        padding-top: 16px !important;
    }

    .ib-section-subtitle {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .ib-payment-note {
        font-size: 12px !important;
    }

    /* RIGHT SIDE - Summary */
    .ib-summary-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .ib-summary-item {
        padding: 8px 0 !important;
    }

    .ib-summary-label,
    .ib-summary-value {
        font-size: 13px !important;
    }

    .ib-summary-total {
        padding: 12px 0 !important;
        margin: 12px 0 !important;
    }

    .ib-total-label {
        font-size: 13px !important;
    }

    .ib-total-value {
        font-size: 16px !important;
    }

    .ib-summary-note {
        font-size: 11px !important;
        margin-bottom: 16px !important;
    }

    /* Buttons */
    .ib-proceed-btn,
    .ib-cancel-btn {
        padding: 11px !important;
        font-size: 14px !important;
    }

    .ib-proceed-btn {
        margin-bottom: 8px !important;
    }
}
	