/* SLIP — Custom Styles */

:root {
  --primary-color: #45D3B0;
  --secondary-color: #183B39;
}

.nav-logo {
    height: 72px;
    width: auto;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .nav-logo {
        height: 56px;
    }
}

.txt-home {
    font-size: 10vw;
    font-family: Arial;
}

/* Touch-friendly minimum tap targets for customer-facing flow */
.btn-lg {
    min-height: 48px;
}

/* Technician selection cards */
.btn-check:checked + .btn-outline-dark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* Hover effect for choice cards */
.hover-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

/* ── Customer check-in flow background ── */
.checkin-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ── Home page glassmorphism card ── */
.home-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 2rem 1rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    box-shadow: 0 10px 48px rgba(0, 0, 0, 0.4);
    padding: 3rem 2.75rem;
    max-width: 440px;
    width: 100%;
}

.glass-logo {
    height: 88px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.glass-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

.glass-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin: 1.1rem auto;
    width: 55%;
}

.glass-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.glass-cta-btn {
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
    padding: 0.9rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    min-width: 210px;
    min-height: 54px;
    letter-spacing: 0.03em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.glass-cta-btn:hover,
.glass-cta-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    filter: brightness(1.1);
}

.glass-cta-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .glass-card {
        padding: 2.25rem 1.5rem;
        max-width: 100%;
    }
    .glass-title {
        font-size: 1.6rem;
    }
    .glass-cta-btn {
        width: 100%;
        min-width: unset;
    }
}

/* ── Technician Dashboard — KPI Cards ───────────────────────── */
.kpi-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.kpi-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.35rem;
}
.kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.1;
    transition: opacity 0.15s ease;
}
.kpi-value.loading {
    opacity: 0.35;
}

/* ── Technician Dashboard — Period Toggle ───────────────────── */
.period-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.period-btn.active,
.period-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* ── Technician Dashboard — Check-in Cards ──────────────────── */
.checkin-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.15s ease;
    border-left: 3px solid transparent;
}
.checkin-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.checkin-card.is-active {
    border-left-color: var(--primary-color);
}
.checkin-initials {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.checkin-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.97rem;
    line-height: 1.2;
}
.checkin-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

/* ── Check-in Notes ──────────────────────────────────────────── */
.notes-display {
    white-space: pre-wrap;
    font-size: 0.85rem;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    max-height: 260px;
    overflow-y: auto;
    word-break: break-word;
}
