/* Laundry Plugin Frontend Styles - No Pricing Version */

.laundry-booking-form-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.laundry-booking-form {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}
.step-hints { background:#f8fbff; border:1px solid #e1eefb; border-radius:6px; padding:10px 12px; margin-bottom:12px; }
.step-hints ul { margin:0; padding-left:18px; }
.step-hints li { font-size:13px; color:#555; margin:4px 0; display:flex; align-items:center; gap:6px; }
.step-hints-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.step-count { font-size:13px; font-weight:600; color:#2c3e50; }
.step-progress { flex:1; margin-left:10px; height:6px; background:#e1eefb; border-radius:4px; }
.step-progress-bar { height:100%; background:#007cba; border-radius:4px; width:0; }
.calendar-block { margin-bottom: 16px; position: relative; z-index: 2; }
.calendar-headings { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.cal-heading { margin:0; font-size:16px; color:#2c3e50; }
.cal-heading.active { color:#007cba; }
.calendar-times { display:grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.calendar-time-col label { display:block; font-weight:600; margin-bottom:6px; }
.selection-summary { background:#f8fafc; border:1px solid #e5e7eb; border-radius:8px; padding:10px 12px; margin:10px 0 14px; }
.selection-summary-item { font-size:14px; color:#374151; }
.selection-summary-item + .selection-summary-item { margin-top:6px; }
.
.services-required { background:#fff7ed; border:1px solid #f59e0b; color:#92400e; padding:10px 12px; border-radius:8px; font-size:14px; display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.services-required .icon { font-size:18px; line-height:1; }
.highlight-required { border:1px solid #f59e0b; border-radius:8px; padding:8px; }

.laundry-booking-form h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-section { margin-bottom: 24px; }

.form-section h3 {
    color: #555;
    margin-bottom: 15px;
    font-size: 18px;
}

.form-group { margin-bottom: 12px; }

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.required {
    color: #e74c3c;
}

.service-checkbox { margin-bottom: 10px; padding: 10px; background: #fafafa; border-radius: 4px; border: 1px solid #e5e5e5; }

.service-checkbox label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.service-checkbox input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}

.laundry-submit-btn,
.laundry-track-btn { background: #007cba; color: white; padding: 12px 20px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, box-shadow .15s ease; }

.laundry-submit-btn:hover,
.laundry-track-btn:hover {
    background: #0069a0;
    box-shadow: 0 2px 8px rgba(0,124,186,0.24);
}

.laundry-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 20px 0;
}
.success-happy { background:#e6ffed; color:#067d2b; padding:16px; border:1px solid #b7f5c8; border-radius:6px; font-size:15px; }

.laundry-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.laundry-notice {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    margin: 20px 0;
}

/* Order Tracking Styles */
.laundry-tracking-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.laundry-tracking-container h3 {
    color: #333;
    margin-bottom: 15px;
}

#laundry-order-details {
    margin-top: 20px;
}

.order-details {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.order-details h4 {
    color: #333;
    margin-bottom: 15px;
}

.order-info p {
    margin-bottom: 10px;
}

.order-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.status-pending {
    background: #f39c12;
    color: #fff;
}

.order-status.status-confirmed {
    background: #3498db;
    color: #fff;
}

.order-status.status-processing {
    background: #e74c3c;
    color: #fff;
}

.order-status.status-ready {
    background: #9b59b6;
    color: #fff;
}

.order-status.status-delivered {
    background: #27ae60;
    color: #fff;
}

.order-status.status-cancelled {
    background: #95a5a6;
    color: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-grid .form-group { margin-bottom: 0; }
.quick-actions { margin-top: 6px; display: flex; gap: 10px; }
.quick-actions a { font-size: 12px; text-decoration: none; color: #007cba; }
.quick-actions a:hover { text-decoration: underline; }
.laundry-history-container { max-width: 560px; margin: 0 auto; padding: 16px; background: #f9f9f9; border-radius: 8px; }
.laundry-history-table { width: 100%; border-collapse: collapse; }
.laundry-history-table th, .laundry-history-table td { border: 1px solid #eee; padding: 8px; font-size: 14px; }
.calendar { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 8px; box-sizing: border-box; background: #fff; position: relative; z-index: 2; }
.laundry-booking-form .calendar { width: 100%; }
.calendar-mode { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.calendar-mode .cal-mode-btn { background:#f3f3f3; border:1px solid #ddd; border-radius:4px; padding:4px 10px; cursor:pointer; }
.calendar-mode .cal-mode-btn.active { background:#007cba; color:#fff; border-color:#007cba; }
.calendar-mode .cal-mode-btn[disabled] { opacity:.6; cursor:not-allowed; }
.calendar.delivery-active { border-color:#27ae60; box-shadow: 0 0 0 2px rgba(39,174,96,0.15); }

.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-weight: 600; }
.calendar-header .cal-prev, .calendar-header .cal-next { background: #f3f3f3; border: 1px solid #ddd; border-radius: 4px; padding: 4px 8px; cursor: pointer; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.calendar-weekday { display:flex; align-items:center; justify-content:center; height: 24px; text-align: center; font-size: 12px; color: #777; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; grid-auto-rows: 32px; }
.calendar-day { display:flex; align-items:center; justify-content:center; text-align: center; padding: 0; min-height: 32px; background: #fafafa; border: 1px solid #eee; border-radius: 4px; cursor: pointer; user-select: none; }
.calendar-day.empty { background: transparent; border: none; cursor: default; }
.calendar-day.disabled { background: #f5f5f5; color: #aaa; cursor: not-allowed; }
.calendar-day.selected { background: #007cba; color: #fff; border-color: #007cba; }
.time-options { display: block; }
.time-options .time-wheel { display:grid; grid-template-columns: repeat(2, 1fr); gap:6px; width:100%; max-height:140px; overflow-y:auto; border:1px solid #ddd; border-radius:4px; padding:6px; }
.time-options .time-wheel-item { display:flex; align-items:center; justify-content:space-between; padding:6px 8px; border-radius:4px; background:#f3f3f3; border:1px solid #ddd; cursor:pointer; font-size:13px; }
.time-options .time-wheel-item.selected { background:#007cba; color:#fff; border-color:#007cba; }
.time-options .time-wheel-item.disabled { cursor:not-allowed; opacity:.6; }
.time-options .badge { font-size:11px; padding:2px 6px; border-radius:10px; }
.time-options .badge-full { background:#eee; color:#666; border:1px solid #ddd; }
.time-options .time-wheel-item:hover { filter:brightness(0.98); }
.time-option { background: #f3f3f3; border: 1px solid #ddd; border-radius: 4px; padding: 8px 10px; cursor: pointer; }
.time-option.selected { background: #007cba; color: #fff; border-color: #007cba; }
.time-option.disabled { cursor: not-allowed; opacity: .6; }
#schedule_calendar.disabled, #delivery_time_options.disabled { pointer-events: none; opacity: .6; }
.form-step { display: none; }
.form-step.active { display: block; }
.step-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:12px; }