.ed-cd-portal { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
    max-width: 960px; 
    margin: 40px auto; 
    color: #2d3748; 
    line-height: 1.6; 
}
.ed-cd-portal-header { 
    text-align: center; 
    margin-bottom: 40px; 
}
.ed-cd-portal-header h1 { 
    font-size: 2.25rem; 
    margin-bottom: 8px; 
    color: #1a202c; 
    font-weight: 800; 
}
.ed-cd-meta-row { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 30px; 
}

@media (max-width: 768px) {
    .ed-cd-meta-row { grid-template-columns: 1fr; }
}

/* Pricing Cards Layout */
.ed-cd-pricing-title { 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: #1a202c; 
    border-bottom: 2px solid #edf2f7; 
    padding-bottom: 10px; 
}
.ed-cd-pricing-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px; 
}
.ed-cd-price-card { 
    border: 2px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 25px; 
    text-align: center; 
    background: #fff; 
    cursor: pointer; 
    transition: all 0.25s ease; 
    position: relative; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}
.ed-cd-price-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    border-color: #cbd5e1; 
}

/* Selected Card Highlights */
.ed-cd-price-card.is-selected { 
    border-color: #3182ce; 
    background-color: #f7fafc; 
    box-shadow: 0 10px 15px -3px rgba(49, 130, 206, 0.15); 
}
.ed-cd-price-card.is-selected::after { 
    content: "✓ Best Value"; 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #3182ce; 
    color: #fff; 
    padding: 2px 12px; 
    border-radius: 9999px; 
    font-size: 11px; 
    font-weight: bold; 
    letter-spacing: 0.05em; 
    text-transform: uppercase; 
}

.ed-cd-card-tier { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: #718096; 
    font-weight: 700; 
    margin-bottom: 8px; 
}
.ed-cd-card-amount { 
    font-size: 2.25rem; 
    font-weight: 800; 
    color: #2d3748; 
    margin-bottom: 15px; 
}
.ed-cd-card-amount span { 
    font-size: 1rem; 
    font-weight: 500; 
    color: #718096; 
}

.ed-cd-select-btn { 
    background-color: #edf2f7; 
    color: #4a5568; 
    font-weight: 700; 
    padding: 10px 24px; 
    border-radius: 8px; 
    border: none; 
    width: 100%; 
    transition: all 0.2s ease; 
    cursor: pointer; 
}
.ed-cd-price-card.is-selected .ed-cd-select-btn { 
    background-color: #3182ce; 
    color: #fff; 
}

/* Detailed Panels */
.ed-cd-panel { 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 24px; 
    margin-bottom: 24px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
}
.ed-cd-panel h2 { 
    font-size: 1.25rem; 
    margin-top: 0; 
    margin-bottom: 20px; 
    color: #1a202c; 
    font-weight: 700; 
    border-bottom: 1px solid #edf2f7; 
    padding-bottom: 10px; 
}

/* Route / Stops Display */
.ed-cd-route { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    position: relative; 
    padding-left: 20px; 
}
.ed-cd-route::before { 
    content: ""; 
    position: absolute; 
    left: 6px; 
    top: 12px; 
    bottom: 12px; 
    width: 2px; 
    background: #e2e8f0; 
    border-style: dashed; 
}
.ed-cd-stop { 
    position: relative; 
}
.ed-cd-stop::before { 
    content: ""; 
    position: absolute; 
    left: -19px; 
    top: 6px; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: #cbd5e1; 
    border: 2px solid #fff; 
    box-shadow: 0 0 0 2px #cbd5e1; 
}
.ed-cd-stop.is-pickup::before { 
    background: #48bb78; 
    box-shadow: 0 0 0 2px #48bb78; 
}
.ed-cd-stop.is-dropoff::before { 
    background: #e53e3e; 
    box-shadow: 0 0 0 2px #e53e3e; 
}

/* Grid Layouts */
.ed-cd-detail-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 16px; 
}
.ed-cd-detail-item { 
    font-size: 14px; 
}
.ed-cd-detail-label { 
    font-weight: 600; 
    color: #718096; 
    display: block; 
    margin-bottom: 2px; 
}
.ed-cd-detail-value { 
    font-weight: 500; 
    color: #2d3748; 
}

/* Base Container Structure */
.ed-cd-portal { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 
    max-width: 1080px; 
    margin: 40px auto; 
    color: #2d3748; 
    line-height: 1.6; 
}
.ed-cd-portal-header { 
    text-align: center; 
    margin-bottom: 35px; 
}
.ed-cd-portal-header h1 { 
    font-size: 2.25rem; 
    margin-bottom: 8px; 
    color: #1a202c; 
    font-weight: 800; 
}

/* Landing Layout Grid */
.ed-cd-meta-row { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 30px; 
}

/* Pricing Cards */
.ed-cd-pricing-title { 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: #1a202c; 
    border-bottom: 2px solid #edf2f7; 
    padding-bottom: 10px; 
}
.ed-cd-pricing-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px; 
}
.ed-cd-price-card { 
    border: 2px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 25px; 
    text-align: center; 
    background: #fff; 
    cursor: pointer; 
    transition: all 0.25s ease; 
    position: relative; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}
.ed-cd-price-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    border-color: #cbd5e1; 
}
.ed-cd-price-card.is-selected { 
    border-color: #3182ce; 
    background-color: #f7fafc; 
    box-shadow: 0 10px 15px -3px rgba(49, 130, 206, 0.15); 
}
.ed-cd-price-card.is-selected::after { 
    content: "✓ Best Value"; 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #3182ce; 
    color: #fff; 
    padding: 2px 12px; 
    border-radius: 9999px; 
    font-size: 11px; 
    font-weight: bold; 
    letter-spacing: 0.05em; 
    text-transform: uppercase; 
}
.ed-cd-card-tier { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: #718096; 
    font-weight: 700; 
    margin-bottom: 8px; 
}
.ed-cd-card-amount { 
    font-size: 2.25rem; 
    font-weight: 800; 
    color: #2d3748; 
    margin-bottom: 15px; 
}
.ed-cd-card-amount span { 
    font-size: 1rem; 
    font-weight: 500; 
    color: #718096; 
}
.ed-cd-select-btn { 
    background-color: #edf2f7; 
    color: #4a5568; 
    font-weight: 700; 
    padding: 10px 24px; 
    border-radius: 8px; 
    border: none; 
    width: 100%; 
    transition: all 0.2s ease; 
    cursor: pointer; 
}
.ed-cd-price-card.is-selected .ed-cd-select-btn { 
    background-color: #3182ce; 
    color: #fff; 
}

/* Detailed Panels */
.ed-cd-panel { 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 24px; 
    margin-bottom: 24px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
}
.ed-cd-panel.sticky-panel {
    position: sticky;
    top: 20px;
}
.ed-cd-panel h2 { 
    font-size: 1.25rem; 
    margin-top: 0; 
    margin-bottom: 20px; 
    color: #1a202c; 
    font-weight: 700; 
    border-bottom: 1px solid #edf2f7; 
    padding-bottom: 10px; 
}

/* Route / Stops Display */
.ed-cd-route { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    position: relative; 
    padding-left: 20px; 
}
.ed-cd-route::before { 
    content: ""; 
    position: absolute; 
    left: 6px; 
    top: 12px; 
    bottom: 12px; 
    width: 2px; 
    background: #e2e8f0; 
    border-style: dashed; 
}
.ed-cd-stop { 
    position: relative; 
    margin-bottom: 10px; 
}
.ed-cd-stop h4 {
    margin: 0;
    font-size: 15px;
    color: #1a202c;
}
.ed-cd-stop p.ed-cd-stop-address {
    margin: 6px 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}
.ed-cd-stop p.ed-cd-stop-coords {
    margin: 4px 0 0;
    font-size: 12px;
    color: #718096;
}
.ed-cd-stop::before { 
    content: ""; 
    position: absolute; 
    left: -19px; 
    top: 6px; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: #cbd5e1; 
    border: 2px solid #fff; 
    box-shadow: 0 0 0 2px #cbd5e1; 
}
.ed-cd-stop.is-pickup::before { 
    background: #48bb78; 
    box-shadow: 0 0 0 2px #48bb78; 
}
.ed-cd-stop.is-dropoff::before { 
    background: #e53e3e; 
    box-shadow: 0 0 0 2px #e53e3e; 
}

/* Grid & Details */
.ed-cd-vehicle-item {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.ed-cd-vehicle-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.ed-cd-vehicle-item h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #2d3748;
}
.ed-cd-detail-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 16px; 
}
.ed-cd-detail-item { font-size: 14px; }
.ed-cd-detail-label { 
    font-weight: 600; 
    color: #718096; 
    display: block; 
    margin-bottom: 2px; 
}
.ed-cd-detail-value { font-weight: 500; color: #2d3748; }
.ed-cd-schedule-list { display: flex; flex-direction: column; gap: 16px; }
.ed-cd-subtext { display: block; font-size: 13px; color: #718096; margin-top: 2px; }

/* Action Buttons */
.ed-cd-cta-block { margin-top: 25px; }
.ed-cd-btn-primary {
    background: #3182ce;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease;
}
.ed-cd-btn-primary:hover { background: #2b6cb0; }
.ed-cd-btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.ed-cd-btn-secondary:hover { background: #cbd5e1; }
.ed-cd-btn-secondary.orange {
    background: #ff7428;
    color: #111111;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.ed-cd-btn-secondary.orange:hover { background: #ff8f53; }
.ed-cd-btn-success {
    background: #ff7428;
    color: #111111;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}
.ed-cd-btn-success:hover { background: #f56720; }
.ed-cd-btn-link {
    background: none;
    border: none;
    color: #3182ce;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-size: 14px;
}

/* ================================================================== */
/* LANDING 2: BOOKING DETAILS & SUB-STEPS                             */
/* ================================================================== */

.ed-cd-booking-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* Wizard Steps Bar */
.ed-cd-wizard-nav {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}
.ed-cd-nav-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    font-weight: 600;
    font-size: 14px;
}
.ed-cd-nav-step.active {
    opacity: 1;
    color: #3182ce;
}
.ed-cd-nav-step .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.ed-cd-nav-step.active .step-num {
    background: #3182ce;
    color: #fff;
}

/* Wizard Forms */
.ed-cd-substep {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ed-cd-substep h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1a202c;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
}
.ed-cd-form-group {
    margin-bottom: 20px;
}
.ed-cd-form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #2d3748;
}
.ed-cd-form-group label .required {
    color: #e53e3e;
}
.ed-cd-form-group input[type="text"],
.ed-cd-form-group input[type="email"],
.ed-cd-form-group input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}
.ed-cd-form-group input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}
.ed-cd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ed-cd-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 6px;
}
.ed-cd-radio-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ed-cd-wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

/* Extra Contact Box */
.ed-cd-extra-contact {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Sidebar Compact Summary */
.ed-cd-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    position: sticky;
    top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ed-cd-summary-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: #1a202c;
    margin-bottom: 15px;
}
.ed-cd-summary-price {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    padding: 12px 15px;
    border-radius: 8px;
}
.ed-cd-summary-price .label {
    font-size: 12px;
    color: #2b6cb0;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}
.ed-cd-summary-price .tier-val {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
}
.ed-cd-summary-price .price-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2b6cb0;
    margin-top: 2px;
}
.ed-cd-summary-divider {
    height: 1px;
    background: #edf2f7;
    margin: 15px 0;
}
.ed-cd-summary-section h4 {
    margin: 0 0 6px;
    font-size: 13px;
    color: #718096;
    text-transform: uppercase;
}
.ed-cd-summary-section p {
    margin: 0 0 4px;
    font-size: 13px;
}
.ed-cd-summary-section ul {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
}

/* Notices & Thank You */
.ed-cd-notice-box {
    background: #fffaf0;
    border-left: 4px solid #dd6b20;
    padding: 12px 16px;
    font-size: 14px;
    color: #9c4221;
    margin: 20px 0;
}
.ed-cd-thankyou-card {
    text-align: center;
    padding: 30px 10px;
}
.ed-cd-success-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.ed-cd-booking-reference {
    margin-top: 20px;
    background: #edf2f7;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* Responsive Rules */
@media (max-width: 850px) {
    .ed-cd-meta-row,
    .ed-cd-booking-layout { 
        grid-template-columns: 1fr; 
    }
    .ed-cd-form-row { 
        grid-template-columns: 1fr; 
    }
}

.ed-cd-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: ed-cd-spin 0.8s ease-in-out infinite;
}

@keyframes ed-cd-spin {
    to { transform: rotate(360deg); }
}

.ed-cd-btn-edit-date {
    appearance:  none;
    border: 0px;
    background: transparent;
}

/* Full-Width Layout Modifier */
.ed-cd-booking-layout.full-width {
    grid-template-columns: 1fr !important;
}

/* Receipt & Tracking Section Styling */
.ed-cd-receipt-header {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.ed-cd-receipt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #def7ec;
    color: #03543f;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.ed-cd-receipt-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.75rem;
    color: #1a202c;
    font-weight: 800;
}

.ed-cd-receipt-header p {
    margin: 0 0 16px 0;
    color: #4a5568;
}

.ed-cd-receipt-ids-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.ed-cd-receipt-ids-bar .id-pill {
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.ed-cd-receipt-ids-bar .id-pill .label {
    color: #64748b;
    margin-right: 6px;
}

.ed-cd-receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .ed-cd-receipt-grid { grid-template-columns: 1fr; }
}

.ed-cd-receipt-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ed-cd-receipt-card.full-width {
    grid-column: 1 / -1;
}

.ed-cd-receipt-card h3 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    color: #1a202c;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.ed-cd-receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 14px;
}

.ed-cd-receipt-row:last-child {
    border-bottom: none;
}

.ed-cd-receipt-row.highlight {
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 6px;
    margin: 8px 0;
    border-bottom: none;
}

.ed-cd-receipt-row .amount {
    font-size: 1.2rem;
    color: #2563eb;
}

.ed-cd-receipt-route-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .ed-cd-receipt-route-grid { grid-template-columns: 1fr; }
}

.route-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.route-box.pickup { border-left: 4px solid #10b981; }
.route-box.delivery { border-left: 4px solid #ef4444; }

.route-box .box-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.route-box .address-line {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 8px;
}

.route-box .contact-line {
    font-size: 13px;
    color: #64748b;
}

.ed-cd-receipt-vehicles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vehicle-receipt-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    padding: 12px 16px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vehicle-receipt-item .vehicle-name {
    font-size: 15px;
    color: #1e293b;
}

.vehicle-receipt-item .vehicle-specs {
    font-size: 13px;
    color: #64748b;
}

.ed-cd-receipt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.ed-cd-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ed-cd-badge-active {
    background: #dcfce7;
    color: #15803d;
}

.ed-cd-badge-expired {
    background: #fee2e2;
    color: #b91c1c;
}

/* Stripe Input Elements Frame */
.ed-cd-stripe-input-frame {
    background-color: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ed-cd-stripe-input-frame.StripeElement--focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.ed-cd-stripe-input-frame.StripeElement--invalid {
    border-color: #e53e3e;
}


/* Step Header Layout */
.ed-cd-step-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eaf0;
}

.ed-cd-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.ed-cd-header-top .ed-cd-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #11182b;
    margin: 0;
    border-bottom: none; /* Reset existing h2 border if overriding */
    padding-bottom: 0;
}

.ed-cd-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background-color: #f0f1f4;
    color: #5f687b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ed-cd-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #626b7e;
}

/* Mobile Adjustments */
@media (max-width: 500px) {
    .ed-cd-header-top {
        align-items: flex-start;
    }
    
    .ed-cd-header-top .ed-cd-title {
        font-size: 1.25rem;
    }
}

.ed-cd-nav-step.active {
    opacity: 1;
    color: #ff7428;
}
.ed-cd-nav-step.active .step-num {
    background: #ff7428;
}

#ed-cd-portal-wrapper .ed-cd-btn-secondary {
    margin-bottom: 0px !important;
}

.ed-cd-receipt-header {
    background: #ffede3 !important;
    border: 1px solid #ff7428 !important;
}

.ed-cd-receipt-ids-bar {    
    border-top: 1px solid #ff7428 !important;
}

.ed-cd-receipt-status-badge {
    background: #ff7428 !important;
    color: #ffffff !important;
}

.ed-cd-summary-price {
    background: #ffede3 !important;
    border: 1px solid #ff7428 !important;
}

.ed-cd-summary-price .label {
    color: #ff7428 !important;
}

.ed-cd-summary-price .price-val {
    color: #ff7428 !important;
}

#ed-cd-portal-wrapper .ed-cd-btn-secondary {
    width: 50%;
}

.ed-cd-price-card.is-selected {
    border-color: #ff7428 !important;
    background-color: #fff7f3 !important;
}

.ed-cd-price-card.is-selected::after {
    background-color: #ff7428 !important;
}

.ed-cd-summary-price .price-note{
    font-size: 0.8em;
    margin-top: 10px;
}

.price-val-total {
    margin-top: 10px;
}