/* /Components/SignInComponent.razor.rz.scp.css */
/* Match Home page container */
.panel-wrap[b-5ban19jnne] {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 45px 24px 16px;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Same card width & grid as Home */
.panel-card[b-5ban19jnne] {
  width: clamp(800px, 82vw, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 40px;
  align-content: center;
}

/* H1 — EXACTLY the same as your component */
.panel-title[b-5ban19jnne] {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  margin: 0 0 8px 0;
  line-height: 1.25;
  font-weight: 600;
  color: #374151;
  font-size: clamp(22px, 2.2vw, 32px);
}

/* Search spans full card width and centers its field */
.search-section[b-5ban19jnne] {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
}

.search-wrapper[b-5ban19jnne] {
  position: relative;
  width: 100%;
  max-width: 800px; /* roomy on tablet, adjust if needed */
}

.search-icon[b-5ban19jnne] {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #6b7280;
  pointer-events: none;
}

.search-input[b-5ban19jnne] {
  width: 100%;
  height: 64px;
  padding: 0 20px 0 60px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;           /* matches button radius family */
  font-size: 1.1rem;
  font-weight: 500;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}
.search-input:focus[b-5ban19jnne] { border-color: #3D98B6; }
.search-input[b-5ban19jnne]::placeholder { color: #9ca3af; font-weight: 400; }

/* Actions row (reuse Home grid) */
.panel-actions[b-5ban19jnne] {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}

/* Button styles – reuse Home sizing */
.btn-action[b-5ban19jnne] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  padding: 24px 32px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

/* Single button centered under the search */
.signout-btn[b-5ban19jnne] {
  grid-column: 1 / -1;       /* span both columns */
  justify-self: center;      /* center as a single button */
  width: clamp(300px, 30vw, 520px);
}

/* Brand colors (match Home) */
.is-primary[b-5ban19jnne] { background: #3D98B6; color: #fff; border-color: #3D98B6; }
.is-accent[b-5ban19jnne]  { background: #EDAA25; color: #fff; border-color: #EDAA25; }
/* /Components/SuccessComponent.razor.rz.scp.css */
.success-wrap[b-ezj2mp1poz] {
    min-height: 55vh; 
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    padding: 8vh 24px 0; 
    box-sizing: border-box;
}

/* Centered text block */
.success-card[b-ezj2mp1poz] {
    width: min(900px, 88vw);
    margin: 0 auto;
    text-align: center;
}

.success-line[b-ezj2mp1poz] {
    margin: 0 0 14px 0;
    font-weight: 600;
    line-height: 1.3;
    color: #374151;
    font-size: clamp(26px, 2.8vw, 40px); 
}

.success-sub[b-ezj2mp1poz] {
    margin: 0;
    line-height: 1.5;
    color: #4b5563;
    font-size: clamp(20px, 2.0vw, 28px); 
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Root layout - kiosk safe */
.app-root[b-jh27ydsjoh] {
    height: var(--vvh, 100vh); /* JS sets --vvh based on visual viewport */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* keep kiosk "locked" feel */
}

/* Header: match old "45vh" feel, but kiosk/keyboard safe via --vvh */
.app-header[b-jh27ydsjoh] {
    position: relative;
    flex: 0 0 auto;
    height: clamp(300px, calc(var(--vvh, 100vh) * 0.45), 600px);
    display: grid;
    place-items: center;
    padding: 16px 20px;
    box-sizing: border-box;
    background: #fff;
}

/* Logo: match old "44vh" feel, but kiosk/keyboard safe */
.app-logo[b-jh27ydsjoh] {
    height: clamp(280px, calc(var(--vvh, 100vh) * 0.44), 580px);
    max-height: 100%;
    max-width: 94vw;
    width: auto;
    object-fit: contain;
}

/* Home button */
.home-btn[b-jh27ydsjoh] {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    -webkit-tap-highlight-color: transparent;
}

    .home-btn .bi[b-jh27ydsjoh] {
        font-size: 28px;
        color: #111;
    }

/* Main content: takes remaining height and scrolls when keyboard opens */
.app-content[b-jh27ydsjoh] {
    flex: 1 1 auto;
    min-height: 0; /* CRITICAL for flex scrolling */
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    overflow-y: auto; /* escape hatch */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Portrait tweak */
@media (orientation: portrait) {
    .app-logo[b-jh27ydsjoh] {
        height: clamp(220px, calc(var(--vvh, 100vh) * 0.30), 420px);
    }
}

/* Short-height tweak (keyboard open / reduced viewport) */
@media (max-height: 700px) {
    .app-header[b-jh27ydsjoh] {
        height: clamp(200px, calc(var(--vvh, 100vh) * 0.30), 280px);
    }

    .app-logo[b-jh27ydsjoh] {
        height: clamp(180px, calc(var(--vvh, 100vh) * 0.26), 260px);
    }

    .home-btn[b-jh27ydsjoh] {
        width: 56px;
        height: 56px;
        top: 12px;
        right: 12px;
    }

        .home-btn .bi[b-jh27ydsjoh] {
            font-size: 24px;
        }
}

/* When keyboard is open (input focused), hide ONLY the logo */
.keyboard-open .app-logo[b-jh27ydsjoh] {
    display: none;
}

/* Collapse header so the content gains space, but keep home button */
.keyboard-open .app-header[b-jh27ydsjoh] {
    height: auto;
    min-height: 0;
    padding: 8px 12px;
    place-items: start center;
}
/* /Pages/NewVisitor.razor.rz.scp.css */
/* Container */
.panel-wrap[b-vq1x34l21b] {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 45px 24px 16px;
    box-sizing: border-box;
}

/* Card */
.panel-card[b-vq1x34l21b] {
    --control-width: clamp(560px, 90%, 1100px);
    --control-height: 60px;
    width: clamp(800px, 82vw, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 16px;
    align-content: center;
}

/* Track for grid + button */
.control-track[b-vq1x34l21b] {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    row-gap: 18px;
    margin-top: 4px; 
}

/* 2x2 grid + one full-width row */
.form-grid[b-vq1x34l21b] {
    width: var(--control-width);
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

/* Full-width row spans both columns */
.full-span[b-vq1x34l21b] {
    grid-column: 1 / -1;
}

/* Inputs (same height as button) */
.input-field[b-vq1x34l21b] {
    width: 100%;
    height: var(--control-height);
    padding: 0 20px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

    .input-field:focus[b-vq1x34l21b] {
        border-color: #3D98B6;
    }

    .input-field[b-vq1x34l21b]::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

/* Button — EXACT same height & width as inputs */
.confirm-btn[b-vq1x34l21b] {
    width: var(--control-width);
    max-width: 100%;
    height: var(--control-height);
    justify-self: center;
}

/* Button base */
.btn-action[b-vq1x34l21b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px; /* horizontal only */
    border-radius: 20px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Yellow variant */
.is-accent[b-vq1x34l21b] {
    background: #EDAA25;
    border-color: #EDAA25;
    color: #fff;
}
/* Required field validation */
.input-field.field-error[b-vq1x34l21b] {
    border-color: #ef4444;
    animation: shake-b-vq1x34l21b 0.4s ease-in-out;
}

@keyframes shake-b-vq1x34l21b {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

/* Optional: Add a subtle error message below the field */
.field-error-message[b-vq1x34l21b] {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 6px;
    margin-left: 4px;
    font-weight: 500;
}
/* /Pages/ReturningVisitor.razor.rz.scp.css */
.panel-wrap[b-ze5sveb8u9] {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 45px 24px 16px;
    box-sizing: border-box;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.panel-card[b-ze5sveb8u9] {
    --control-width: clamp(560px, 90%, 1100px);
    --control-height: 100px;
    width: clamp(800px, 82vw, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 40px;
    align-content: center;
}

.panel-title[b-ze5sveb8u9] {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin: 0 0 8px 0;
    line-height: 1.25;
    font-weight: 600;
    color: #374151;
    font-size: clamp(22px, 2.2vw, 32px);
}

.control-track[b-ze5sveb8u9] {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    row-gap: 24px;
}

/* Search */
.search-wrapper[b-ze5sveb8u9] {
    position: relative;
    width: var(--control-width);
    max-width: 100%;
    justify-self: center;
}

.search-icon[b-ze5sveb8u9] {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #6b7280;
    pointer-events: none;
}

.search-input[b-ze5sveb8u9] {
    width: 100%;
    height: var(--control-height);
    padding: 0 20px 0 60px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

    .search-input:focus[b-ze5sveb8u9] {
        border-color: #3D98B6;
    }

    .search-input[b-ze5sveb8u9]::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

/* Button base (same height as search) */
.btn-action[b-ze5sveb8u9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--control-height);
    padding: 0 20px; 
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Brand variants */
.is-primary[b-ze5sveb8u9] {
    background: #3D98B6;
    border-color: #3D98B6;
    color: #fff;
}

.is-accent[b-ze5sveb8u9] {
    background: #EDAA25;
    border-color: #EDAA25;
    color: #fff;
}

/* actions row layout (one left, two right) */
.actions-row[b-ze5sveb8u9] {
    width: var(--control-width);
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    align-items: center;
    justify-self: center;
}

/* Left: single yellow button aligned left */
.actions-left[b-ze5sveb8u9] {
    display: flex;
    justify-content: flex-start;
}

.alt-email-btn[b-ze5sveb8u9] {
    width: clamp(220px, 22vw, 360px);
}

/* Right: two buttons aligned right */
.actions-right[b-ze5sveb8u9] {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.back-btn[b-ze5sveb8u9] {
    width: clamp(160px, 15vw, 280px);
}

.enter-btn[b-ze5sveb8u9] {
    width: clamp(200px, 15vw, 320px);
} 

/* Small landscape safeguard: allow wrap while keeping sides */
@media (max-width: 1100px) {
    .actions-row[b-ze5sveb8u9] {
        grid-template-columns: 1fr; /* stack rows */
    }

    .actions-left[b-ze5sveb8u9] {
        justify-content: flex-start;
    }

    .actions-right[b-ze5sveb8u9] {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}
/* /Pages/SignOut.razor.rz.scp.css */
/*Home container */
.panel-wrap[b-qdd1cdrmbl] {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 45px 24px 16px;
    box-sizing: border-box;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Home card grid */
.panel-card[b-qdd1cdrmbl] {
    --control-width: clamp(560px, 90%, 1100px);
    --control-height: 100px;
    width: clamp(800px, 82vw, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 40px;
    align-content: center;
}

/* H1 */
.panel-title[b-qdd1cdrmbl] {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin: 0 0 8px 0;
    line-height: 1.25;
    font-weight: 600;
    color: #374151;
    font-size: clamp(22px, 2.2vw, 32px);
}

/* Centered single-column control track under the title */
.control-track[b-qdd1cdrmbl] {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    row-gap: 24px;
}

/* Both controls share the same width */
.search-wrapper[b-qdd1cdrmbl],
.signOut-btn[b-qdd1cdrmbl] {
    width: var(--control-width);
    max-width: 100%;
    justify-self: center;
}

/* Search field with icon */
.search-wrapper[b-qdd1cdrmbl] {
    position: relative;
}

.search-icon[b-qdd1cdrmbl] {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #6b7280;
    pointer-events: none;
}

/* Search INPUT matches button height & corner radius */
.search-input[b-qdd1cdrmbl] {
    width: 100%;
    height: var(--control-height);
    padding: 0 20px 0 60px; 
    border: 2px solid #e5e7eb;
    border-radius: 20px; 
    font-size: 1.3rem;
    font-weight: 500;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

    .search-input:focus[b-qdd1cdrmbl] {
        border-color: #3D98B6;
    }

    .search-input[b-qdd1cdrmbl]::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

/* Button base  */
.btn-action[b-qdd1cdrmbl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--control-height);
    padding: 20px 28px;
    border-radius: 20px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

/* Yellow variant */
.is-accent[b-qdd1cdrmbl] {
    background: #EDAA25;
    color: #fff;
    border-color: #EDAA25;
}

/* === Dropdown styles (match Staff Sign-In) === */

.search-dropdown[b-qdd1cdrmbl] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 16px 16px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.dropdown-item[b-qdd1cdrmbl] {
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

    .dropdown-item:hover[b-qdd1cdrmbl] {
        background: #f9fafb;
    }

    .dropdown-item:last-child[b-qdd1cdrmbl] {
        border-bottom: none;
    }

.user-name[b-qdd1cdrmbl] {
    font-weight: 600;
    color: #374151;
}

.user-email[b-qdd1cdrmbl] {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Optional helper text */
.no-results[b-qdd1cdrmbl],
.search-loading[b-qdd1cdrmbl] {
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.95rem;
    text-align: center;
}
/* /Pages/StaffSignIn.razor.rz.scp.css */
/* Container */
.panel-wrap[b-5j1pz6momc] {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 45px 24px 16px;
    box-sizing: border-box;
}

/* Card */
.panel-card[b-5j1pz6momc] {
    /* Shared size for ALL controls on this page */
    --control-width: clamp(560px, 90%, 1100px);
    --control-height: 80px;
    width: clamp(800px, 82vw, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 20px;
    align-content: center;
}

/* Title */
.panel-title[b-5j1pz6momc] {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 0 8px 0;
    line-height: 1.25;
    font-weight: 600;
    color: #374151;
    font-size: clamp(22px, 2.2vw, 32px);
}

/* Track of controls */
.control-track[b-5j1pz6momc] {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    row-gap: 20px;
}

/* SAME width for search, vehicle reg, and button */
.search-wrapper[b-5j1pz6momc],
.vehReg-wrapper[b-5j1pz6momc],
.signIn-btn[b-5j1pz6momc] {
    width: var(--control-width);
    max-width: 100%;
    justify-self: center;
}

/* Inputs */
.input-field[b-5j1pz6momc] {
    width: 100%;
    height: var(--control-height);
    padding: 0 20px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

    .input-field:focus[b-5j1pz6momc] {
        border-color: #3D98B6;
    }

    .input-field[b-5j1pz6momc]::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

/* Search icon inside the input */
.search-wrapper[b-5j1pz6momc] {
    position: relative;
}

.search-icon[b-5j1pz6momc] {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #6b7280;
    pointer-events: none;
}

.search-input[b-5j1pz6momc] {
    padding-left: 60px;
}
/* room for icon */

/* Button — EXACT same height as inputs */
.btn-action[b-5j1pz6momc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--control-height); 
    padding: 0 28px; 
    border-radius: 20px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
.is-accent[b-5j1pz6momc] {
    background: #EDAA25;
    border-color: #EDAA25;
    color: #fff;
}
.search-wrapper[b-5j1pz6momc] {
    position: relative;
}

.search-dropdown[b-5j1pz6momc] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 16px 16px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.dropdown-item[b-5j1pz6momc] {
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

    .dropdown-item:hover[b-5j1pz6momc] {
        background: #f9fafb;
    }

    .dropdown-item:last-child[b-5j1pz6momc] {
        border-bottom: none;
    }

.user-name[b-5j1pz6momc] {
    font-weight: 600;
    color: #374151;
}

.user-email[b-5j1pz6momc] {
    font-size: 0.9rem;
    color: #6b7280;
}

.btn-action:disabled[b-5j1pz6momc] {
    opacity: 0.5;
    cursor: not-allowed;
}

.panel-card .alert[b-5j1pz6momc] {
    grid-column: 1 / -1; /* Span full width of grid */
    width: var(--control-width);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    justify-self: center; /* Center within grid */
}

