/* Premium Checkout Stylesheet */

body {
    background: #f4f7fb;
}

.checkout-wrapper {
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
}

/* CARDS COMMON */
.journey-card,
.order-summary-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.journey-card:hover,
.order-summary-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 1px 5px rgba(15, 23, 42, 0.03);
}

/* TITLE & SUBTITLE */
.journey-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.journey-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* SELECTORS */
.selector-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #f1f5f9;
}

.selector-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.selector-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-btn-group {
    display: inline-flex;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 12px;
    gap: 2px;
}

.btn-select {
    border: none;
    background: transparent;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-select:hover {
    color: #0f172a;
}

.btn-select.active {
    background: #ffffff;
    color: #1c7c3c;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

/* STEPS TIMELINE */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.timeline-step {
    position: relative;
    padding-left: 60px;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateX(5px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.step-num {
    position: absolute;
    left: 0;
    top: -2px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c7c3c 0%, #47b06e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(28, 124, 60, 0.3);
    z-index: 3;
    border: 3px solid #ffffff;
}

.step-tag {
    font-size: 12px;
    font-weight: 700;
    color: #1c7c3c;
    background: #eaf7ec;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-heading {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.step-description {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 620px;
}

.step-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1c7c3c;
    background: #eaf7ec;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.step-btn:hover {
    background: #1c7c3c;
    color: #ffffff;
    border-color: #1c7c3c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 124, 60, 0.15);
}

/* HELP NOTE */
.help-article-note {
    font-size: 14px;
    color: #64748b;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.article-link {
    color: #1c7c3c;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-link:hover {
    color: #47b06e;
}

/* ORDER SUMMARY (RIGHT SIDE) */
.order-summary-card {
    position: sticky;
    top: 100px;
}

.summary-card-header {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.product-icon {
    font-size: 28px;
}

.product-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.product-desc {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
}

.price-row.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 5px;
}

.total-price {
    color: #10b981;
}

.pay-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.pay-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.pay-submit-btn:active {
    transform: translateY(0);
}

.secure-checkout-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
    margin-top: 20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991.98px) {
    .order-summary-card {
        position: static;
        margin-top: 30px;
    }

    .journey-card,
    .order-summary-card {
        padding: 30px 20px;
    }
}

@media (max-width: 575.98px) {
    .selector-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .selector-label {
        min-width: auto;
    }

    .custom-btn-group {
        width: 100%;
    }

    .btn-select {
        flex: 1;
        text-align: center;
        padding: 8px 10px;
    }

    .steps-timeline::before {
        left: 17px;
    }

    .timeline-step {
        padding-left: 50px;
    }

    .step-num {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .journey-title {
        font-size: 22px;
    }
}