/**
 * Smog Scheduler — styles matching the Figma "Appointment" screen
 */

.smog-scheduler-widget {
    max-width: 480px;
    margin: 0 auto;
    font-family: inherit;
    color: #1a1a1a;
    padding: 1.5rem 1rem;
}

/* ---------------------------------------------------------------- */
/* Header: back arrow + title                                       */
/* ---------------------------------------------------------------- */

.smog-scheduler-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.smog-back-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0;
}

.smog-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

/* ---------------------------------------------------------------- */
/* Headings + section labels                                        */
/* ---------------------------------------------------------------- */

.smog-scheduler-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
}

.smog-section-label {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #1a1a1a;
}

/* ---------------------------------------------------------------- */
/* Day pills (horizontal row)                                       */
/* ---------------------------------------------------------------- */

.smog-day-buttons {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    overflow-x: auto;
}

.smog-day-btn {
    flex: 1 0 auto;
    min-width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.5rem;
    border: 1.5px solid #d8d8de;
    border-radius: 14px;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.smog-day-btn .smog-day-name {
    font-weight: 400;
    color: inherit;
}

.smog-day-btn .smog-day-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: inherit;
}

.smog-day-btn.active {
    border-color: #5b5bf0;
    color: #5b5bf0;
    background: #fff;
}

/* ---------------------------------------------------------------- */
/* Time pills (2-column grid)                                       */
/* ---------------------------------------------------------------- */

.smog-time-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.smog-time-btn {
    padding: 0.85rem 1rem;
    border: 1.5px solid #d8d8de;
    border-radius: 14px;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.smog-time-btn.active {
    border-color: #5b5bf0;
    color: #5b5bf0;
}

.smog-time-btn.unavailable {
    background: #f5f5f5;
    color: #b3b3b3;
    border-color: #ececec;
    cursor: not-allowed;
}

/* ---------------------------------------------------------------- */
/* Selection summary + continue button                              */
/* ---------------------------------------------------------------- */

.smog-selection-summary {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #1a1a1a;
}

.smog-continue-btn {
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: #3b6bf5;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
}

.smog-continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------------------------------------------------------------- */
/* Error + loading states                                           */
/* ---------------------------------------------------------------- */

.smog-error-message {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fdecea;
    color: #b3261e;
    border-radius: 10px;
}

.smog-loading-text {
    color: #777;
}

/* ---------------------------------------------------------------- */
/* Sign-In page                                                      */
/* ---------------------------------------------------------------- */

.smog-signin-widget {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    color: #1a1a1a;
}

.smog-signin-body {
    margin-top: 1rem;
}

.smog-signin-subtext {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.smog-appt-summary {
    background: #f0f4ff;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.smog-appt-summary-label {
    font-weight: 600;
    margin-right: 0.4rem;
}

.smog-google-btn-wrapper {
    margin-top: 0.5rem;
}

/* ---------------------------------------------------------------- */
/* Details page                                                      */
/* ---------------------------------------------------------------- */

.smog-details-widget {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    color: #1a1a1a;
}

.smog-user-greeting {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.25rem;
}

.smog-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.smog-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.smog-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.smog-input {
    padding: 0.75rem 1rem;
    border: 1.5px solid #d8d8de;
    border-radius: 12px;
    font-size: 1rem;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}

.smog-input:focus {
    border-color: #5b5bf0;
}

.smog-input-hint {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

.smog-vehicle-info {
    padding: 0.75rem 1rem;
    background: #f0f9f0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.smog-vehicle-rejected {
    padding: 0.75rem 1rem;
    background: #fdecea;
    border-radius: 12px;
    color: #b3261e;
    font-size: 0.95rem;
}

/* ---------------------------------------------------------------- */
/* Confirmation page                                                 */
/* ---------------------------------------------------------------- */

.smog-confirmation-widget {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    color: #1a1a1a;
}

.smog-confirmation-icon {
    width: 64px;
    height: 64px;
    background: #3b6bf5;
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 64px;
    margin: 0 auto 1.25rem;
}

.smog-confirmation-subtext {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.smog-confirmation-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.smog-confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #ececec;
    font-size: 0.95rem;
}

.smog-confirmation-row:last-child {
    border-bottom: none;
}

.smog-confirmation-label {
    color: #777;
}

.smog-confirmation-value {
    font-weight: 600;
    color: #1a1a1a;
}

.smog-confirmation-address {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.smog-home-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
