/* /tour interactive demo. tour-* is the marketing frame, ta-* recreates app screens from the app's own CSS values. */

.tour-intro-card {
    padding: 2rem;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
}

/* Stage: a fullscreen overlay while the tour runs */
.tour-stage {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    background: #EEF2F6;
}

.tour-stage[hidden] {
    display: none;
}

.tour-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--mk-border);
}

.tour-bar-logo {
    height: 24px;
    width: auto;
    flex-shrink: 0;
}

.tour-bar-step {
    flex: 0 1 auto;
    min-width: 0;
    padding-left: 1rem;
    border-left: 1px solid var(--mk-border);
}

.tour-bar-step-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tour-progress {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-progress button {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #D1D5DB;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.tour-progress li.is-done button {
    background: #40B274;
}

.tour-progress li.is-active button {
    width: 20px;
    background: var(--mk-blue);
}

.tour-progress li.is-locked button {
    cursor: default;
}

.tour-guide-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6B7280;
    white-space: nowrap;
}

.landing-body .tour-guide-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-bar-center {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.tour-bar-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.tour-bar-right .btn {
    padding: 0.3rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.tour-exit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 0.25rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #6B7280;
    cursor: pointer;
}

.tour-exit:hover {
    background: #F3F4F6;
    color: #111827;
}

.tour-exit svg {
    width: 18px;
    height: 18px;
}

.tour-stage-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0.6rem 1rem 0.75rem;
}

.tour-bar {
    position: relative;
    z-index: 3;
}

/* Coach marks: a spotlight that dims everything but the target, and a bubble pinned next to it */
.tour-spotlight {
    position: fixed;
    z-index: 2;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0 0 0 200vmax rgba(15, 23, 42, 0.28);
    transition: left 0.45s ease-in-out, top 0.45s ease-in-out, width 0.45s ease-in-out, height 0.45s ease-in-out, border-radius 0.45s ease-in-out;
    animation: tour-fade-in 0.35s ease-out;
}

.tour-spotlight.is-do {
    box-shadow: 0 0 0 200vmax rgba(15, 23, 42, 0.18);
}

/* A thin ring in the beat's color around the cut-out. The phone is lit as a whole, so it skips the ring. */
.tour-spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid #0077D8;
}

.tour-spotlight.is-do::after {
    border-color: #F59E0B;
    animation: tour-ring-pulse 1.6s ease-out infinite;
}

.tour-spotlight.is-done::after {
    border-color: #40B274;
}

.tour-spotlight.is-phone::after {
    display: none;
}

@keyframes tour-ring-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.tour-bubble {
    position: fixed;
    z-index: 4;
    width: 300px;
    max-width: calc(100vw - 24px);
    padding: 0.85rem 1rem 0.9rem;
    border-radius: 12px;
    background: #fff;
    border-top: 3px solid #F59E0B;
    box-shadow: 0 16px 36px -14px rgba(15, 23, 42, 0.4);
    transition: left 0.45s ease-in-out, top 0.45s ease-in-out;
    animation: tour-fade-in 0.35s ease-out;
}

.tour-bubble-explain {
    border-top-color: var(--mk-blue);
}

.tour-bubble-done {
    border-top-color: #40B274;
}

.tour-bubble-kicker {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #B45309;
    margin-bottom: 0.3rem;
}

.tour-bubble-kicker svg {
    width: 14px;
    height: 14px;
}

.tour-bubble-explain .tour-bubble-kicker {
    color: var(--mk-blue);
}

.tour-bubble-done .tour-bubble-kicker {
    color: #15803D;
}

.tour-bubble-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #1F2937;
}

.tour-bubble-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.7rem;
}

.tour-bubble-actions .btn {
    padding: 0.3rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.tour-bubble-actions .btn[hidden] {
    display: none;
}

.tour-bubble-do .tour-bubble-actions {
    display: none;
}

.tour-bubble-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
}

.tour-bubble[data-placement="below"] .tour-bubble-arrow {
    top: -8px;
    left: calc(var(--tour-arrow) - 6px);
    background: inherit;
}

.tour-bubble-do[data-placement="below"] .tour-bubble-arrow {
    background: #F59E0B;
}

.tour-bubble-explain[data-placement="below"] .tour-bubble-arrow {
    background: var(--mk-blue);
}

.tour-bubble-done[data-placement="below"] .tour-bubble-arrow {
    background: #40B274;
}

.tour-bubble[data-placement="above"] .tour-bubble-arrow {
    bottom: -6px;
    left: calc(var(--tour-arrow) - 6px);
}

.tour-bubble[data-placement="right"] .tour-bubble-arrow {
    left: -6px;
    top: calc(var(--tour-arrow) - 6px);
}

.tour-bubble[data-placement="left"] .tour-bubble-arrow {
    right: -6px;
    top: calc(var(--tour-arrow) - 6px);
}
.tour-bubble[data-placement="center"] .tour-bubble-arrow {
    display: none;
}

.tour-skip {
    background: none;
    border: 0;
    padding: 0 0.4rem;
    font-size: 0.8rem;
    color: #6B7280;
    text-decoration: underline;
    cursor: pointer;
}

.tour-screens {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.tour-pane-toggle {
    display: none;
}

.tour-desktop-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tour-browser {
    max-width: 100%;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.5);
    border: 1px solid #D1D5DB;
}

.tour-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.1rem;
    padding: 0 0.8rem;
    background: #E5E7EB;
}

.tour-browser-bar > span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #F87171;
}

.tour-browser-bar > span:nth-child(2) {
    background: #FBBF24;
}

.tour-browser-bar > span:nth-child(3) {
    background: #34D399;
}

.tour-browser-url {
    margin-left: 1rem;
    flex: 1;
    max-width: 360px;
    background: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    color: #6B7280;
    padding: 0.15rem 0.8rem;
}

.tour-desktop-scale {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}

/* The sizer takes the scaled size so the frame scrolls sideways on phones; transforms don't affect layout on their own */
.tour-desktop-sizer {
    position: relative;
    overflow: hidden;
}

.tour-desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 1180px;
    height: 700px;
    transform-origin: 0 0;
}

/* _AdminLayout's .custom-hamburger bar, which replaces the sidebar below 768px. It lives in the frame so it stays put while the screen pans. */
.tour-mobilebar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
}

.tour-mobilebar .animated-icon2 {
    transform: scale(0.7);
    transform-origin: left center;
}

.tour-mobilebar img {
    height: 22px;
}

.tour-mobilebar > span {
    width: 21px;
}

.tour-desktop-wrap.is-scrollable .tour-mobilebar {
    display: flex;
}

.tour-desktop-wrap.is-scrollable {
    align-items: stretch;
}

.tour-phone-wrap {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Like the desktop sizer, this holds the phone's scaled size so it fits short screens */
.tour-phone-sizer {
    position: relative;
    width: 316px;
    height: 640px;
}

.tour-phone {
    position: absolute;
    top: 0;
    left: 0;
    width: 316px;
    height: 640px;
    padding: 12px;
    border-radius: 46px;
    background: #111827;
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.6);
    transform-origin: 0 0;
}

.tour-phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 86px;
    height: 24px;
    margin-left: -43px;
    border-radius: 999px;
    background: #111827;
    z-index: 30;
}

.tour-phone-screen {
    position: relative;
    width: 292px;
    height: 616px;
    border-radius: 36px;
    overflow: hidden;
    background: #fff;
}

.tour-pane-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0.6rem 0 0;
}

.tour-swipe-hint {
    display: none;
}

.tour-desktop-wrap.is-scrollable .tour-swipe-hint {
    display: inline;
}

/* Ring on the element being pointed at inside the phone, which stays undimmed */
.tour-mark {
    position: relative;
    z-index: 5;
    outline: 2px solid var(--tour-mark-color, #F59E0B) !important;
    outline-offset: 2px;
}

.tour-mark-do {
    --tour-mark-color: #F59E0B;
    cursor: pointer;
    animation: tour-mark-pulse 1.6s ease-out infinite;
}

.tour-mark-explain {
    --tour-mark-color: #0077D8;
}

.tour-mark-done {
    --tour-mark-color: #40B274;
}

@keyframes tour-mark-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes tour-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ta-flash {
    0% { background-color: #FEF3C7; }
    100% { background-color: #fff; }
}

@media (max-width: 991px) {
    .tour-bar {
        flex-wrap: wrap;
        row-gap: 0.4rem;
        padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    }

    .tour-bar-logo {
        display: none;
    }

    .tour-bar-step {
        flex: 1;
        padding-left: 0;
        border-left: 0;
    }

    .tour-bar-center {
        display: none;
    }

    .tour-stage-body {
        padding: 0.5rem 0.75rem 0.5rem;
    }

    .tour-screens {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.5rem;
    }

    .tour-pane-toggle {
        display: flex;
        align-self: center;
        background: #E5E7EB;
        border-radius: 12px;
        padding: 4px;
    }

    .tour-pane-toggle button {
        border: 0;
        background: none;
        border-radius: 9px;
        padding: 0.4rem 1rem;
        font-weight: 600;
        color: #374151;
    }

    .tour-pane-toggle button.is-active {
        background: #fff;
        color: var(--mk-blue);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .tour-screens [data-pane-panel] {
        display: none;
        width: 100%;
    }

    .tour-screens [data-pane-panel].is-visible {
        display: flex;
    }

    .tour-phone-wrap {
        flex: none;
    }
}

@media (max-width: 575px) {
    .tour-guide-eyebrow {
        display: none;
    }

    .tour-bar-right .btn {
        padding: 0.25rem 0.7rem;
    }
}

/* Finale */
.tour-finale {
    padding: 4rem 0 5rem;
    background: #F8FAFC;
}

.tour-estimate-total {
    font-size: 3rem;
    font-weight: 800;
    color: var(--mk-ink);
    margin: 0.75rem 0 1rem;
}

.tour-estimate-period {
    font-size: 1rem;
    font-weight: 500;
    color: #6B7280;
    margin-left: 0.25rem;
}

.tour-estimate-rows {
    border-top: 1px solid var(--mk-border);
    margin-bottom: 1rem;
}

.tour-estimate-rows > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--mk-border);
    color: #374151;
}

.tour-offer {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0077D8 0%, #005BA6 100%);
    color: #fff;
    margin-top: 1rem;
}

.tour-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.tour-offer-badge svg {
    width: 1rem;
    height: 1rem;
}

.landing-body .tour-offer-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0.9rem 0 0.75rem;
}

.tour-offer-copy p {
    font-size: 1.1rem;
    opacity: 0.92;
    margin: 0;
}

.tour-offer-form {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    color: #1F2937;
}

.tour-offer-error {
    color: #DC2626;
    font-size: 0.9rem;
    margin: 0.6rem 0 0;
}

.tour-offer-alt {
    text-align: center;
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0.9rem 0 0;
}

.tour-restart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 0;
    color: #6B7280;
    font-weight: 600;
    cursor: pointer;
}

.tour-restart svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 991px) {
    .tour-offer {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .landing-body .tour-offer-title {
        font-size: 1.6rem;
    }
}

/* ---------- App screens (values from site.css, Admin.css and the app views) ---------- */

.ta-desktop,
.ta-phone {
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    color: #212529;
    line-height: 1.5;
    text-align: left;
}

.ta-desktop {
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    font-size: 0.875rem;
}

.ta-desktop h3,
.ta-desktop h4,
.ta-desktop h5,
.ta-phone h2,
.ta-phone h3,
.ta-phone h4,
.ta-phone h5 {
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: #212529;
    letter-spacing: normal;
}

.ta-desktop h3 { font-size: 1.75rem; }
.ta-desktop h4 { font-size: 1.5rem; }
.ta-desktop h5 { font-size: 1.25rem; }

.ta-desktop label,
.ta-phone label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.ta-desktop .btn,
.ta-phone .btn {
    cursor: pointer;
    white-space: nowrap;
}

.ta-desktop label.ta-row,
.ta-phone label.ta-row {
    display: flex;
}

.ta-desktop .btn svg,
.ta-phone .btn svg {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
}

.ta-desktop .form-control[readonly],
.ta-phone .form-control[readonly] {
    background: #fff;
}

.ta-shadow {
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.17);
}

/* Admin shell (_AdminLayout.cshtml, Admin.css .sidebar) */
.ta-shell {
    display: flex;
    height: 100%;
}

.ta-sidebar {
    flex: 0 0 196px;
    background: #fff;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
    padding: 0.5rem 15px;
    display: flex;
    flex-direction: column;
}

.ta-logo {
    width: 75%;
    padding: 12px 12px 12px 0;
    margin: 0.75rem auto;
    display: block;
}

.ta-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.ta-nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #333;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.ta-nav-link svg {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    margin-right: 4px;
    color: #999;
}

.ta-nav-link.active,
.ta-nav-link.active svg {
    color: #0077D8;
}

.ta-sidebar-bottom {
    border-top: 1px solid #dee2e6;
}

.ta-help {
    padding: 1rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
    font-size: 1.125rem;
    text-align: center;
}

.ta-hello {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #333;
}

.ta-hello img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
}

.ta-blue-icon {
    color: #0077D8 !important;
}

.ta-main {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.tour-desktop.is-compact {
    width: 984px;
}

.tour-desktop.is-compact .ta-sidebar {
    display: none;
}

.tour-desktop.is-compact .ta-modal-backdrop {
    justify-content: flex-start;
}

.tour-desktop.is-compact .ta-modal {
    width: calc(var(--tour-visible-width, 100%) - 2rem) !important;
}

.tour-desktop.is-compact .ta-modal-body {
    overflow-x: auto;
}

.ta-page {
    padding: 1rem;
    height: 100%;
    overflow: hidden;
}

.ta-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ta-m0 { margin: 0 !important; }
.ta-mb4 { margin-bottom: 1rem; }
.ta-mb6 { margin-bottom: 1.5rem; }
.ta-mt8 { margin-top: 2rem; }
.ta-text-sm { font-size: 0.875rem; }
.ta-text-xs { font-size: 0.75rem; }
.ta-gray-500 { color: #6b7280; }
.ta-gray-600 { color: #4b5563; }
.ta-medium { font-weight: 500; }
.ta-semibold { font-weight: 600; }
.ta-bold { font-weight: 700; }

/* Toggle switch (Admin.css .switch/.slider, 40x20 on hiring and scheduling) */
.ta-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.ta-switch span {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 28px;
    transition: 0.4s;
}

.ta-switch span::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 50%;
    transition: 0.4s;
}

.ta-switch.is-on span {
    background: #0077D8;
}

.ta-switch.is-on span::before {
    transform: translateX(20px);
}

.ta-state-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #8EB9EB;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
}

/* Job listing editor (EditJobListing.cshtml) */
.ta-joblisting {
    width: 75%;
}

.ta-quill {
    background: #fff;
    border: 1px solid #ccc;
}

.ta-quill-toolbar {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
    color: #444;
}

.ta-quill-toolbar svg {
    width: 15px;
    height: 15px;
}

.ta-quill-editor {
    padding: 12px 15px;
    min-height: 92px;
    font-size: 13px;
}

.ta-quill-editor p,
.ta-quill-editor ul {
    margin: 0 0 0.35rem;
}

.ta-question {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.ta-question-icons {
    display: flex;
    gap: 0.5rem;
    color: #6b7280;
}

.ta-question-icons svg {
    width: 16px;
    height: 16px;
}

/* Applicant pipeline (ApplicantPipeline.cshtml) */
.ta-pipe-head {
    padding: 1rem;
}

.ta-view-toggle {
    position: relative;
    display: flex;
    gap: 1px;
    padding: 0.25rem 0;
    border: 1px solid #ced4da;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.375rem;
    width: 88px;
}

.ta-view-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #3b82f6;
    border-radius: 0.375rem;
}

.ta-view-toggle span {
    position: relative;
    flex: 1;
    text-align: center;
    color: #000;
}

.ta-view-toggle span:first-child {
    color: #fff;
}

.ta-view-toggle svg {
    width: 20px;
    height: 20px;
}

.ta-search {
    position: relative;
    width: 200px;
}

.ta-search svg {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    color: #6b7280;
}

.ta-board {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.ta-col {
    flex: 0 0 312px;
}

.ta-stage {
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 520px;
    transition: box-shadow 0.15s;
}

.ta-stage.is-drop {
    box-shadow: 0 0 0 2px #3b82f6;
}

.ta-stage-count {
    background: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.ta-stage-head svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.ta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.ta-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.ta-chip svg {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
}

.ta-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ta-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: move;
}

.ta-card.is-new {
    animation: ta-flash 1.6s ease-out;
}

/* Bootstrap-style modal inside a mock screen */
.ta-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 1rem;
}

.ta-modal {
    width: 500px;
    max-width: 100%;
    background: #fff;
    border-radius: 0.3rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #212529;
}

.ta-modal-gray {
    background: #f4f4f4;
}

.ta-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.ta-modal-header h5 {
    margin: 0 !important;
}

.ta-modal-close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
}

.ta-modal-body {
    padding: 1rem;
}

.ta-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

.ta-team-badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    border-radius: 0.25rem;
    color: #1f2937;
    margin-right: 0.25rem;
}

/* Employee profile (Employee.cshtml, _OnboardProgressCards.cshtml) */
.ta-profile-page {
    padding: 1rem;
    height: 100%;
    overflow: hidden;
}

.ta-profile {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
}

.ta-photo-box {
    width: 120px;
    height: 120px;
    border-radius: 0.5rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.ta-profile h1 {
    font-size: 1.875rem;
    font-weight: 400;
    color: #1f2937;
    margin: 0 0 0.75rem;
}

.ta-summary {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.25rem 2rem;
    justify-content: start;
}

.ta-summary b {
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
    display: block;
}

.ta-summary span {
    font-size: 1rem;
    color: #374151;
}

.ta-onboard-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    outline: 1px solid #e5e7eb;
}

.ta-segments {
    display: flex;
    gap: 0.25rem;
    margin: 0.75rem 0 0.25rem;
}

.ta-segments div {
    height: 6px;
    flex: 1;
    border-radius: 999px;
    background: #e5e7eb;
    transition: background 0.4s;
}

.ta-segments div.is-done {
    background: #4ade80;
}

.ta-onboard-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.75rem;
}

.ta-onboard-steps span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.ta-onboard-steps span.is-done {
    color: #6b7280;
    font-weight: 400;
}

.ta-onboard-steps svg {
    width: 14px;
    height: 14px;
    color: #d1d5db;
}

.ta-onboard-steps span.is-done svg {
    color: #22c55e;
}

/* Admin.css .emp-tab and .tab-content-container */
.ta-tabs {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
}

.ta-tab {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    background: #fff;
}

.ta-tab.active {
    color: #2563eb;
    font-weight: 700;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: #fff;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.ta-tab svg {
    width: 16px;
    height: 16px;
}

.ta-tab-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 12px 12px 12px;
    padding: 20px 24px;
}

.ta-team-assignment {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.ta-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    outline: 1px solid #e5e7eb;
}

.ta-doc-icons svg {
    width: 20px;
    height: 20px;
    color: #374151;
}

.ta-bg-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0.5rem;
    outline: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.ta-status {
    display: inline-block;
    border-radius: 0.375rem;
    padding: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ta-status-pending { background: #FFE897; color: #735A0E; }
.ta-status-clear { background: #B5F0C2; color: #426200; }

/* Scheduling week view (Jobs.cshtml, Scheduling.css) */
.ta-sched-bar {
    height: 64px;
    background: #fff;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ta-sched-toggle {
    position: relative;
    display: flex;
    width: 180px;
    border: 1px solid #dee2e6;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.375rem;
    padding: 0.25rem 0;
}

.ta-sched-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #3B82F6;
    border-radius: 0.375rem;
}

.ta-sched-toggle span {
    position: relative;
    flex: 1;
    text-align: center;
}

.ta-sched-toggle span:first-child {
    color: #fff;
}

.ta-btn-wizard {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    color: #fff !important;
    border: 0;
}

.ta-sched-table {
    width: 100%;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.ta-sched-table th,
.ta-sched-table td {
    border: 1px solid #dee2e6;
    padding: 0.4rem;
    vertical-align: middle;
}

.ta-sched-table thead th {
    text-align: center;
    font-weight: 400;
}

.ta-sched-table thead th span {
    display: block;
}

.ta-sched-corner {
    width: 150px;
    background: #F2F2F2;
    font-weight: 700 !important;
}

.ta-team-row th {
    background: #F2F2F2;
    font-weight: 700;
}

.ta-team-row td {
    background: rgba(0, 0, 0, 0.05);
}

.ta-job-th {
    text-align: right;
    font-weight: 400;
    background: #fff;
}

.ta-shift {
    display: flex;
    justify-content: space-between;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    color: #fff;
    padding: 0.125rem;
    font-size: x-small;
    border-radius: 5px;
    margin: 2px 0;
}

.ta-shift.filled {
    background: #0077D8;
}

.ta-shift.empty {
    color: #000;
    border: 1px dashed #1F97F2;
}

.ta-shift.pickup {
    border: 1px dashed #01C851;
}

.ta-shift.is-new {
    animation: ta-flash-blue 1.6s ease-out;
}

@keyframes ta-flash-blue {
    0% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.ta-modal ul {
    padding-left: 1.25rem;
    margin: 0;
}

/* Hours report (HoursReport.cshtml) */
.ta-hours {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    height: 100%;
}

.ta-hours-main {
    flex: 3;
    min-width: 0;
}

.ta-hours-side {
    flex: 1;
    min-width: 0;
}

.ta-panel {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
}

.ta-hours-toggle {
    position: relative;
    display: flex;
    width: 88px;
    border: 1px solid #ced4da;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.375rem;
    padding: 0.25rem 0;
}

.ta-hours-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: #3b82f6;
    border-radius: 0.375rem;
}

.ta-hours-toggle span {
    position: relative;
    flex: 1;
    text-align: center;
}

.ta-hours-toggle span:first-child {
    color: #fff;
}

.ta-hours-toggle svg {
    width: 18px;
    height: 18px;
}

.ta-btn-group {
    display: inline-flex;
}

.ta-btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.ta-btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.ta-excel-btn {
    background: #1F7345 !important;
    border-color: #1F7345 !important;
}

.ta-table-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 1rem;
}

.ta-desktop .table td,
.ta-desktop .table th {
    font-size: 14px;
    padding: 0.6rem 0.75rem;
}

.ta-hours-table td:first-child,
.ta-hours-table th:first-child {
    white-space: nowrap;
}

.ta-hours-table .ta-total {
    background: #F2F2F2;
    font-weight: 700;
    border-left: 2px solid #dee2e6;
}

.ta-hours-table tr.ta-total-row td {
    background: #F2F2F2;
    font-weight: 700;
    border-top: 2px solid #dee2e6;
}

.ta-amber { background: #fcd34d !important; }
.ta-orange { background: #fb923c !important; }
.ta-red { background: #fca5a5 !important; }
.ta-purple { background: #d8b4fe !important; }

.ta-legend div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ta-legend i {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    flex-shrink: 0;
}

.ta-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.ta-sync-status {
    font-weight: 600;
}

/* Messaging (Messaging.cshtml, CombinedMessaging.css, AdvancedTexting.css) */
.ta-msg-page {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ta-msg-tabs {
    display: inline-flex;
    background: #e5e7eb;
    border-radius: 12px;
    padding: 4px;
    align-self: flex-start;
}

.ta-msg-tabs span {
    border-radius: 9px;
    font-size: 18px;
    font-weight: 600;
    padding: 9px 17px;
    color: #374151;
}

.ta-msg-tabs span.is-sms {
    background: #34a853;
    color: #fff;
}

.ta-msg-tabs span.is-app {
    background: #0077d8;
    color: #fff;
}

/* CombinedMessaging.js app chat rows and bubbles */
.ta-chat-rows {
    margin: 0 -0.75rem;
}

.ta-chat-row {
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.ta-chat-row.is-active {
    background: #eff6ff;
}

.ta-clamp {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ta-msg-messages-app {
    justify-content: flex-start;
}

.ta-msg-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
}

.ta-msg-row.is-mine {
    justify-content: flex-end;
}

.ta-msg-stack {
    max-width: 75%;
}

.ta-msg-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.ta-msg-row.is-mine .ta-msg-meta,
.ta-msg-row.is-mine .ta-msg-seen {
    text-align: right;
}

.ta-msg-bubble {
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
}

.ta-msg-bubble.is-mine {
    background: #0077D8;
    border-color: #0077D8;
    color: #fff;
}

.ta-msg-seen {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.ta-msg-plus {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    flex-shrink: 0;
}

.ta-msg-plus svg {
    width: 18px;
    height: 18px;
}

.ta-msg-shell {
    display: flex;
    gap: 12px;
    flex: 1;
    min-height: 0;
    margin-top: 0.75rem;
}

.ta-msg-list,
.ta-msg-thread {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
}

.ta-msg-list {
    width: 300px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ta-msg-thread {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ta-msg-pill {
    display: inline-block;
    background: #dff4e5;
    color: #25713a;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
}

.ta-msg-search {
    border-radius: 999px !important;
    border: 1px solid #d1d5db !important;
    background: #f3f4f6 !important;
    font-size: 13px !important;
}

.ta-btn-green {
    background: #34a853 !important;
    border-color: #34a853 !important;
    color: #fff !important;
}

.ta-msg-tile {
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.ta-msg-tile.is-active {
    background: #e5e7eb;
}

.ta-msg-thread-head {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.ta-msg-messages {
    flex: 1;
    background: #f9fafb;
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ta-sms-bubble {
    align-self: flex-end;
    max-width: 75%;
    background: #34c759;
    color: #fff;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
}

.ta-sms-bubble small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.ta-msg-composer {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid #e5e7eb;
}

.ta-msg-textarea {
    border-radius: 18px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    min-height: 40px;
    background: #fff;
}

.ta-credit-box {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 0.25rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

/* ---------- Phone screens ---------- */

.ta-phone {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    background: #F0F0F0;
}

.ta-statusbar {
    flex: 0 0 44px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 26px 6px;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    background: #fff;
}

.ta-statusbar svg {
    width: 14px;
    height: 14px;
}

.ta-phone-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    position: relative;
}

.ta-phone-scroll::-webkit-scrollbar {
    display: none;
}

/* _Layout.cshtml navbar with the organization logo */
.ta-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.ta-orglogo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 48px;
}

.ta-orglogo b {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #0077D8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ta-orglogo span {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.1;
    color: #111827;
}

.ta-orglogo.is-large {
    height: 64px;
}

.ta-orglogo.is-large b {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.ta-pcard {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin: 0 0.75rem 1rem;
}

.ta-pcard-2xl {
    border-radius: 1rem;
    padding: 1rem;
}

.ta-phone .form-control {
    font-size: 14px;
    height: 34px;
}

.ta-phone h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.ta-phone h3 {
    font-size: 1.25rem;
}

.ta-phone h5 {
    font-size: 1.05rem;
}

.ta-req {
    color: #ef4444;
}

.ta-powered {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 1rem 0 1.5rem;
}

.ta-powered b {
    color: #0077D8;
}

/* Embedded job board (EmbeddedJobBoard.css, stacked at phone width) */
.ta-jobboard {
    background: #fff;
    margin: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.ta-jobboard-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.ta-jobboard-head h1 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.ta-job-item {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #ececec;
    font-size: 0.9375rem;
    font-weight: 500;
    background: rgba(0, 119, 216, 0.15);
    color: #0077d8;
    box-shadow: inset 3px 0 0 #0077d8;
}

.ta-job-detail {
    padding: 1.25rem;
    text-align: center;
}

.ta-job-detail h2 {
    font-size: 1.25rem !important;
    color: #111827 !important;
}

.ta-job-desc {
    color: #374151;
    text-align: left;
    line-height: 1.65;
    margin: 1rem 0;
}

.ta-empty {
    padding: 2rem 1rem;
    text-align: center;
}

/* Overlays inside the phone */
.ta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 15;
    gap: 1rem;
}

.ta-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 4px solid #cfe5f8;
    border-top-color: #0077D8;
    animation: ta-spin 0.8s linear infinite;
}

@keyframes ta-spin {
    to { transform: rotate(360deg); }
}

.ta-check-big {
    width: 64px;
    height: 64px;
    color: #22c55e;
}

.ta-success-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fdf4;
    color: #15803d;
    border-radius: 0.5rem;
    padding: 1rem;
}

.ta-success-box svg {
    width: 20px;
    height: 20px;
}

/* Native messages app, which is how employees receive August texts */
.ta-sms {
    background: #fff;
}

.ta-sms-head {
    text-align: center;
    padding: 0.5rem 0 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.ta-sms-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(#a1a1aa, #71717a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ta-sms-in {
    max-width: 82%;
    background: #E9E9EB;
    color: #000;
    border-radius: 18px;
    padding: 8px 12px;
    margin: 0.75rem;
    font-size: 14px;
    word-break: break-word;
}

.ta-sms-in a,
.ta-sms-link {
    color: #0077D8;
    text-decoration: underline;
    cursor: pointer;
}

/* Employee tasks (EmployeeTasks.cshtml, OnboardingSteps components) */
.ta-step-btn {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem !important;
    width: fit-content;
    margin-top: 0.25rem;
}

.ta-step-btn svg {
    width: 20px !important;
    height: 20px !important;
}

.ta-complete {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.ta-complete p {
    margin: 0;
    font-weight: 600;
}

.ta-icon-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #40B274;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ta-icon-circle svg {
    width: 16px;
    height: 16px;
}

/* Document signer (DocumentSigner.tsx) */
.ta-sign-banner {
    background: #0077D8;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.ta-pdf {
    background: #fff;
    margin: 1rem 0.75rem 300px;
    padding: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    color: #000;
    position: relative;
}

.ta-pdf-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.ta-pdf-title b {
    font-size: 15px;
}

.ta-pdf-line {
    border-bottom: 1px solid #000;
    padding: 6px 0 2px;
    display: flex;
    justify-content: space-between;
}

.ta-pdf-line em {
    font-style: normal;
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    color: #1e3a8a;
}

.ta-sign-field {
    margin-top: 10px;
    height: 30px;
    border-radius: 0.375rem;
    background: #E55754;
    opacity: 0.8;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ta-sign-field.is-signed {
    background: transparent;
    opacity: 1;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 20px;
    font-weight: 400;
    color: #1e3a8a;
}

.ta-sign-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem;
    z-index: 10;
}

.ta-sign-panel-inner {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 12px rgba(0, 0, 0, 0.08);
}

.ta-sig-canvas {
    display: block;
    width: 100%;
    height: 90px;
    border: 2px solid #0077D8;
    background: #fff;
    margin-bottom: 0.5rem;
    touch-action: none;
    cursor: crosshair;
}

.ta-toast {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #363636;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
    font-size: 13px;
    white-space: nowrap;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ta-toast svg {
    width: 16px;
    height: 16px;
    color: #22c55e;
}

/* Timeclock kiosk (Timesheet.cshtml, Timesheet.css, ClockIn component) */
.ta-kiosk-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    height: 4.5rem;
    margin: 0 0.75rem 0.75rem;
}

.ta-kiosk-photo {
    height: 80%;
    aspect-ratio: 1;
    margin-left: 0.6rem;
    border-radius: 0.5rem;
    background: #dbeafe;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ta-kiosk-name {
    margin: 0 auto 0 0.75rem;
    font-size: 17px;
    font-weight: 500;
}

.ta-clock-btn {
    width: 25%;
    margin-right: 0.6rem;
    padding: 0.5rem 0.25rem;
    border-radius: 1rem !important;
    font-size: 13px !important;
    line-height: 1.1;
    color: #fff !important;
}

.ta-clock-in {
    background: #40B274 !important;
}

.ta-clock-out {
    background: #ca4748 !important;
}

.ta-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0.75rem;
}

.ta-keypad .btn {
    border-radius: 0 !important;
    border: 1px solid #d1d5db !important;
    padding: 0.6rem 0;
    font-size: 1.15rem;
}

.ta-keypad .ta-key-small {
    font-size: 0.8rem;
}

.ta-pin {
    text-align: center;
    font-size: 1.5rem !important;
    letter-spacing: 0.3em;
    height: 42px !important;
}

.ta-big-clock {
    width: 100%;
    border-radius: 1rem !important;
    height: 3.5rem;
    font-size: larger !important;
    font-weight: 700;
    color: #fff !important;
    background: #40B274 !important;
}

/* August Mobile (Flutter app: main.dart theme, schedule_page, shift_pickup_page, chat_detail_page) */
.ta-app {
    background: #fff;
}

.ta-appbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border-bottom: 0.25px solid #9e9e9e;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.ta-appbar svg {
    width: 20px;
    height: 20px;
}

.ta-bottomnav {
    flex: 0 0 64px;
    display: flex;
    background: #fff;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12);
    padding-bottom: 8px;
}

.ta-bottomnav span {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    color: #757575;
}

.ta-bottomnav span.active {
    color: #0077D8;
    font-size: 13px;
}

.ta-bottomnav svg {
    width: 22px;
    height: 22px;
}

.ta-segmented {
    display: flex;
    margin: 12px 14px 8px;
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    overflow: hidden;
}

.ta-segmented span {
    flex: 1;
    text-align: center;
    padding: 9px 4px;
    font-weight: 600;
    font-size: 12px;
    color: #000;
}

.ta-segmented span.active {
    background: #0077D8;
    color: #fff;
}

.ta-pickup-link {
    display: block;
    text-align: center;
    color: #0077D8;
    font-size: 16px;
    padding: 6px 0;
    cursor: pointer;
}

.ta-week-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 14px 2px;
    color: #7D7D7D;
    font-size: 13px;
}

.ta-week-head b {
    font-size: 18px;
}

.ta-week-total {
    text-align: center;
    color: #7D7D7D;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.ta-day-row {
    display: flex;
    gap: 18px;
    padding: 10px 12px;
    border-bottom: 0.75px solid #BDBDBD;
}

.ta-day-row:first-of-type {
    border-top: 0.75px solid #BDBDBD;
}

.ta-day-row.is-new {
    animation: ta-flash 1.6s ease-out;
}

.ta-day-date {
    font-weight: 700;
    font-size: 17px;
    color: #7D7D7D;
    line-height: 1.15;
    min-width: 44px;
}

.ta-day-shift b {
    display: block;
    font-size: 15px;
}

.ta-day-shift span {
    color: #7D7D7D;
    font-size: 13px;
}

.ta-app-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.14);
}

.ta-app-card-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9e9e9e;
    font-size: 14px;
    margin-top: 6px;
}

.ta-app-card-row svg {
    width: 16px;
    height: 16px;
}

.ta-app-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    background: #0077D8;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ta-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.54);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 20;
}

.ta-dialog {
    background: #fff;
    border-radius: 28px;
    padding: 22px 22px 14px;
}

.ta-dialog h3 {
    font-size: 22px !important;
    font-weight: 400 !important;
}

.ta-dialog p {
    font-style: italic;
    font-size: 14px;
    color: #424242;
}

.ta-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.ta-dialog-actions span {
    padding: 8px 12px;
    border-radius: 20px;
    color: #0077D8;
    font-weight: 600;
    cursor: pointer;
}

.ta-chat {
    padding: 8px 0;
}

.ta-bubble-time {
    font-size: 10px;
    padding-left: 18px;
    color: #000;
}

.ta-bubble {
    max-width: 78%;
    border-radius: 16px;
    padding: 10px;
    font-size: 15px;
    margin: 4px 16px 0;
    word-break: break-word;
}

.ta-bubble-in {
    background: #E3E3E4;
    color: #000;
}

.ta-bubble-out {
    background: #1B97F3;
    color: #fff;
    margin-left: auto;
    margin-bottom: 10px;
}

/* chat_detail_page.dart team buttons: an Expanded row of pills, so a lone "View schedule" spans the width */
.ta-chat-buttons {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 0.25px solid #9e9e9e;
}

.ta-chat-buttons span {
    flex: 1;
    text-align: center;
    background: #0077D8;
    color: #fff;
    border-radius: 25px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 14px;
}

.ta-bubble-out.is-new {
    animation: ta-pop 0.35s ease-out;
}

@keyframes ta-pop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ta-bubble-name {
    font-size: 13px;
    padding: 2px 0 10px 18px;
}

.ta-msgbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 8px 6px;
    background: #fff;
    border-top: 1px solid #eee;
}

.ta-msgbar svg {
    width: 22px;
    height: 22px;
    color: rgba(0, 0, 0, 0.87);
}

.ta-msgbar-input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 30px;
    padding: 7px 12px;
    font-size: 14px;
    color: #000;
    min-height: 36px;
}

.ta-send {
    width: 35px;
    height: 35px;
    border-radius: 999px;
    background: #2196F3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.ta-send.is-empty {
    background: #e0e0e0;
}

.ta-send svg {
    width: 16px !important;
    height: 16px !important;
    color: #fff !important;
}

.ta-push {
    position: absolute;
    top: 48px;
    left: 8px;
    right: 8px;
    background: rgba(245, 245, 245, 0.97);
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 35;
    font-size: 13px;
    animation: ta-drop 0.4s ease-out;
}

.ta-push b {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

/* ViewOffer.cshtml puts both buttons on one row; the phone width needs them to share it evenly */
.ta-offer-actions {
    display: flex;
    gap: 0.5rem;
}

.ta-offer-actions .btn {
    flex: 1;
    padding: 0.375rem 0.4rem;
    font-size: 0.875rem;
}

/* id_page.dart home screen */
.ta-home {
    padding: 8px 16px 16px;
}

.ta-home-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
}

.ta-home-head b {
    flex: 1;
    font-size: 22px;
    color: #000;
}

.ta-home-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #eeeeee;
    border: 2px solid #0077D8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #616161;
    flex-shrink: 0;
}

.ta-home-avatar svg {
    width: 20px;
    height: 20px;
}

.ta-home-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #0077D8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ta-home-icon svg {
    width: 18px;
    height: 18px;
}

.ta-home-card-text {
    font-size: 14px;
    color: #616161;
    line-height: 1.4;
}

.ta-board-frame {
    background: #8B4513;
    border-radius: 12px;
    padding: 10px;
    margin: 16px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ta-board-cork {
    background: #D2B48C;
    border-radius: 4px;
    padding: 12px;
}

.ta-sticky {
    background: #FFF9C4;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.87);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ta-home-section {
    font-weight: 700;
    font-size: 17px;
    color: rgba(0, 0, 0, 0.87);
    padding: 6px 0 10px;
}

.ta-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.14);
}

.ta-notification-title {
    font-weight: 700;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.87);
    margin-bottom: 4px;
}

.ta-notification-btn {
    background: #0077D8;
    color: #fff;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ta-push strong {
    font-size: 13px;
}

@keyframes ta-drop {
    from { transform: translateY(-120%); }
    to { transform: translateY(0); }
}
