/* ================================================
   Explore Lanka Booking Widget — elg-booking.css
   ================================================ */

.elg-widget {
    max-width: 560px;
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #222;
}

/* Steps */
.elg-steps {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}
.elg-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #aaa;
    white-space: nowrap;
}
.elg-step span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ddd;
    color: #888;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.elg-step.active { color: #1a5276; }
.elg-step.active span { background: #1a5276; color: #fff; }
.elg-step.done span { background: #27ae60; color: #fff; }
.elg-step-line {
    flex: 1;
    height: 2px;
    background: #ddd;
    margin: 0 8px;
}

/* Panel */
.elg-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.elg-panel h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #1a5276;
}
.elg-duration {
    color: #666;
    font-size: 14px;
    margin: 0 0 20px;
}
.hidden { display: none !important; }

/* Price Table */
.elg-price-table {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.elg-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr 80px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    align-items: center;
}
.elg-price-row:last-child { border-bottom: none; }
.elg-price-row.header {
    background: #f7f9fc;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.elg-price-row.highlight { background: #eaf4fb; }
.elg-price-row.highlight small {
    display: inline-block;
    background: #1a5276;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}
.elg-price { font-weight: 700; color: #1a5276; font-size: 16px; }
.elg-meal { color: #888; font-size: 13px; }

.elg-includes {
    font-size: 13px;
    color: #555;
    background: #f0faf5;
    border-left: 3px solid #27ae60;
    padding: 10px 12px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 20px;
}

/* Buttons */
.elg-btn {
    background: #1a5276;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.elg-btn:hover { background: #154360; }
.elg-btn-outline {
    background: transparent;
    color: #1a5276;
    border: 2px solid #1a5276;
    width: auto;
    flex: 1;
}
.elg-btn-outline:hover { background: #eaf4fb; }
.elg-btn-submit { background: #27ae60; flex: 2; }
.elg-btn-submit:hover { background: #1e8449; }
.elg-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Field */
.elg-field {
    margin-bottom: 16px;
}
.elg-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.elg-field input,
.elg-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.elg-field input:focus,
.elg-field textarea:focus {
    border-color: #1a5276;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}

/* Pax Selector */
.elg-pax-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
}
.elg-pax-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #1a5276;
    background: #fff;
    color: #1a5276;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.elg-pax-btn:hover { background: #1a5276; color: #fff; }
.elg-pax-display {
    text-align: center;
}
#elg-pax-count {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #1a5276;
    line-height: 1;
}
.elg-pax-display small {
    font-size: 14px;
    color: #888;
}

/* Price Summary */
.elg-price-summary {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 8px;
}
.elg-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}
.elg-summary-row:last-child { border-bottom: none; }
.elg-summary-row.total {
    font-weight: 700;
    font-size: 18px;
    color: #1a5276;
    margin-top: 4px;
    padding-top: 10px;
}

/* Booking Summary Bar */
.elg-booking-summary-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #eaf4fb;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: #333;
}

/* Error */
.elg-error {
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Success */
.elg-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #27ae60;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
#elg-success { text-align: center; }
#elg-success h3 { color: #27ae60; font-size: 24px; }
.elg-success-summary {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    text-align: left;
}
