
    :root{
      --bg:#f5f8ff;
      --card:#ffffff;
      --text:#0f1b2d;
      --muted:#6b7a90;
      --line:#e7eefc;
      --blue:#2f6df6;
      --blue2:#4a86ff;
      --shadow: 0 18px 45px rgba(26, 55, 110, .12);
      --shadow2: 0 10px 25px rgba(26, 55, 110, .10);
      --radius: 26px;
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color:var(--text);
      background:
        radial-gradient(1000px 600px at 20% 10%, #dfeaff 0%, transparent 55%),
        radial-gradient(900px 600px at 80% 0%, #e8f0ff 0%, transparent 55%),
        var(--bg);
      min-height:100vh;
      
      padding:28px 18px;
    }
	
	div.displaycenter {
		display:grid;
		place-items:center;
		height: 80vh;
	}

    .wrap{
      width:min(980px, 100%);
      display:grid;
      grid-template-columns: repeat(2, minmax(280px, 1fr));
      gap:26px;
      align-items:start;
    }
    @media (max-width: 820px){
      .wrap{grid-template-columns:1fr}
    }

    /* Phone frame */
    .phone{
      background: linear-gradient(#fff, #fff);
      border-radius: 44px;
      padding: 18px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(210,225,255,.65);
      position:relative;
      overflow:hidden;
    }
    .screen{
      background: #fff;
      border-radius: 34px;
      min-height: 680px;
      position:relative;
      overflow:hidden;
    }
    .statusbar{
      height: 44px;
      padding: 14px 18px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      font-weight:600;
      color:#0d1a2d;
      letter-spacing:.2px;
    }
    .status-icons{
      display:flex;
      align-items:center;
      gap:10px;
      opacity:.85;
    }
    .pill{
      width: 22px; height: 10px; border-radius:999px;
      border: 2px solid #0d1a2d;
      position:relative;
    }
    .pill:after{
      content:"";
      position:absolute;
      right:-4px; top:2px;
      width:2px; height:6px;
      background:#0d1a2d;
      border-radius:3px;
    }
    .pill .fill{
      width: 68%;
      height: 100%;
      background:#0d1a2d;
      border-radius:999px;
    }

    .content{
      padding: 10px 22px 26px;
    }

    /* App icon */
    .appmark{
      width:64px; height:64px;
      margin: 14px auto 10px;
      display:grid;
      place-items:center;
    }
    .appmark svg{filter: drop-shadow(0 10px 18px rgba(47,109,246,.18));}

    h1{
      margin: 6px 0 4px;
      text-align:center;
      font-size: 34px;
      letter-spacing: -.5px;
    }
    .sub{
      text-align:center;
      color: var(--muted);
      margin: 0 0 22px;
      font-size: 15.5px;
    }

    /* Inputs */
    .field{
      display:flex;
      align-items:center;
      gap:12px;
      background: #f8fbff;
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 14px 14px;
      box-shadow: 0 10px 22px rgba(25, 60, 125, .06);
      margin: 12px 0;
    }
    .field .icon{
      width:34px; height:34px;
      border-radius: 14px;
      display:grid;
      place-items:center;
      background: rgba(47,109,246,.08);
      color: var(--blue);
      flex: 0 0 auto;
    }
    .field input{
      border:0;
      outline:none;
      background:transparent;
      width:100%;
      font-size: 16px;
      color: var(--text);
    }
    .field input::placeholder{color:#8a9ab3}

    /* Email row with go arrow */
    .emailRow{
      padding:0;
      overflow:hidden;
    }
    .emailRow .left{
      display:flex;
      align-items:center;
      gap:12px;
      padding: 14px 14px;
      flex:1;
    }
    .emailRow .go{
      width: 56px;
      height: 54px;
      display:grid;
      place-items:center;
      border:0;
      background: linear-gradient(180deg, rgba(47,109,246,.08), rgba(47,109,246,.03));
      border-left: 1px solid var(--line);
      cursor:pointer;
      transition: transform .06s ease;
    }
    .emailRow .go:active{transform: scale(.98)}
    .emailRow .go svg{opacity:.9}

    .rowBetween{
      display:flex;
      justify-content:flex-end;
      margin: 8px 2px 16px;
    }
    .link{
      color: var(--muted);
      font-size: 14px;
      text-decoration:none;
    }
    .link:hover{color:#3c4f6a}

    .btn{
      width:100%;
      border:0;
      border-radius: 22px;
      padding: 16px 18px;
      font-weight: 800;
      font-size: 18px;
      color:#fff;
      background: linear-gradient(180deg, var(--blue2), var(--blue));
      box-shadow: 0 16px 28px rgba(47,109,246,.25);
      cursor:pointer;
      margin-top: 10px;
    }
    .btn:active{transform: translateY(1px)}
    .footer{
      position:absolute;
      left: 0; right: 0;
      bottom: 18px;
      text-align:center;
      color: var(--muted);
      font-size: 15px;
    }
    .footer a{
      color: var(--blue);
      font-weight: 700;
      text-decoration:none;
    }

    /* Step behavior */
    .step{display:none}
    .step.is-on{display:block}

    /* Tiny home indicator */
    .homebar{
      position:absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 6px;
      width: 140px;
      height: 5px;
      border-radius: 999px;
      background: rgba(25, 35, 60, .12);
    }

    /* Nice divider for demo */
    .labelTop{
      position:absolute;
      top: -12px;
      left: 18px;
      font-size: 12px;
      font-weight: 800;
      color:#7c8aa2;
      background: rgba(255,255,255,.9);
      padding: 6px 10px;
      border: 1px solid rgba(231,238,252,.8);
      border-radius: 999px;
      box-shadow: 0 10px 20px rgba(25, 60, 125, .06);
    }
  .dashboard-app {
  width:100%;
  max-width:100%;
  padding:20px 18px 90px;
}

.app-header {
  margin-bottom:28px;
}

.app-title {
  font-size:26px;
  font-weight:800;
}

.app-sub {
  font-size:14px;
  color:var(--muted);
  margin-top:4px;
}

.app-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

.app-tile {
  background:#ffffff;
  border-radius:22px;
  padding:22px 14px;
  text-align:center;
  box-shadow: var(--shadow2);
  cursor:pointer;
  transition: transform .15s ease;
  max-width: 200px;
}

.app-tile:active {
  transform: scale(.97);
}

.app-tile img {
  width:64px;
  height:64px;
  object-fit:contain;
  margin-bottom:12px;
}

.app-tile span {
  display:block;
  font-weight:700;
  font-size:16px;
}

/* Logout styling */
.logout-tile {
  background:#fff3f3;
}

/* Desktop enhancement */
@media(min-width: 900px){
  .app-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


.flowtix-promo {
  margin-top:40px;
  padding:28px 22px;
  background: linear-gradient(135deg, #2f6df6, #4a86ff);
  color:#fff;
  border-radius:22px;
  box-shadow: 0 20px 40px rgba(47,109,246,.25);
}

.flowtix-promo h3 {
  margin:0 0 10px;
  font-size:20px;
  font-weight:800;
}

.flowtix-promo p {
  margin:0 0 18px;
  font-size:14.5px;
  opacity:.95;
  line-height:1.5;
}

.flowtix-btn {
  display:inline-block;
  padding:12px 20px;
  background:#ffffff;
  color:#2f6df6;
  font-weight:700;
  border-radius:14px;
  text-decoration:none;
  font-size:14px;
  transition:all .15s ease;
}

.flowtix-btn:active {
  transform: scale(.96);
}

/* timesheet page */

/* ===== App Top Bar ===== */
.app-topbar {
  position: sticky;
  top: 0;
  background: #ffffff;
  padding: 18px 18px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom: 1px solid var(--line);
  z-index:10;
}

.app-topbar-title {
  font-size:20px;
  font-weight:800;
}

.app-back {
  font-size:14px;
  color:var(--blue);
  font-weight:600;
  cursor:pointer;
}

/* ===== Timesheet List ===== */
.timesheet-list {
  padding:0;
  padding-bottom:140px;
}

.timesheet-row {
  padding:18px;
  border-bottom:1px solid var(--line);
  background:#ffffff;
}

.timesheet-row:active {
  background:#f5f8ff;
}

.timesheet-date {
  font-size:15px;
  font-weight:700;
  margin-bottom:6px;
}

.timesheet-hours {
  font-size:14px;
  color:var(--muted);
}

/* ===== Floating Check Button ===== */
.check-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: linear-gradient(135deg, #2f6df6, #4a86ff);
  color:#fff;
  border:none;
  border-radius: 50px;
  padding:18px 26px;
  font-size:16px;
  font-weight:800;
  box-shadow: 0 20px 40px rgba(47,109,246,.35);
  cursor:pointer;
  transition: all .2s ease;
}

.check-button:active {
  transform: scale(.95);
}

/* When checked in (you will toggle class via JS) */
.check-button.checked-in {
  background: linear-gradient(135deg, #ff5c5c, #ff3b3b);
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
  position: fixed;
  bottom:0;
  left:0;
  right:0;
  background:#ffffff;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-around;
  padding:10px 0 16px;
}

.bottom-nav-item {
  text-align:center;
  font-size:12px;
  color:var(--muted);
  cursor:pointer;
}

.bottom-nav-item img {
  width:26px;
  height:26px;
  display:block;
  margin:0 auto 4px;
}

.bottom-nav-item.active {
  color:var(--blue);
}



/* contacts */

/* ===== Contacts Search ===== */
.contacts-search {
  position: sticky;
  top: 60px; /* below topbar */
  background:#ffffff;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  z-index:5;
}

.search-input {
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  font-size:15px;
  outline:none;
  background:#f8fbff;
}

.search-input:focus {
  border-color:var(--blue);
  background:#ffffff;
}

/* ===== Contacts List ===== */
.contacts-list {
  padding-bottom:120px; /* space for bottom nav */
}

.contact-row {
  display:flex;
  align-items:center;
  padding:16px 18px;
  border-bottom:1px solid var(--line);
  background:#ffffff;
  cursor:pointer;
}

.contact-row:active {
  background:#f5f8ff;
}

.contact-avatar {
  width:42px;
  height:42px;
  border-radius:50%;
  background: linear-gradient(135deg, #2f6df6, #4a86ff);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  margin-right:14px;
  font-size:16px;
}

.contact-info {
  flex:1;
}

.contact-name {
  font-weight:700;
  font-size:15px;
  margin-bottom:4px;
}

.contact-email {
  font-size:13px;
  color:var(--muted);
}

.contact-arrow {
  font-size:18px;
  color:var(--muted);
}


/* Plus button */
.add-btn {
  width:38px;
  height:38px;
  border-radius:50%;
  background: linear-gradient(135deg, #2f6df6, #4a86ff);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:600;
  cursor:pointer;
  box-shadow: 0 10px 25px rgba(47,109,246,.35);
  transition: all .15s ease;
}

.add-btn:active {
  transform: scale(.92);
}
