@charset "UTF-8";
.v-center {
  display: flex;
  align-items: center; }

.center-align-c {
  float: none;
  display: flex;
  justify-content: center; }

.img-responsive {
  width: 100%;
  height: auto; }

/* --- Font Sizes --- */
.font20 {
  font-size: 20px; }

.font30 {
  font-size: 30px; }

.font35 {
  font-size: 35px; }

/* ------ */
/* --- Main CSS --- */
/* Prevent horizontal scrollbars on auth layout, but allow vertical scrolling
   so both columns (hero + form) are reachable on tablets like iPad. */
.tp-body {
  overflow-x: hidden;
  overflow-y: auto; }

/* Auth form panel */
.auth-panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 32px rgba(15, 39, 68, 0.08), 0 1px 8px rgba(15, 39, 68, 0.04);
  border-top: 3px solid #f97316; }

.tp-body .row > .col {
  min-height: 100vh; }

.tp-body .tp-preface,
.tp-body .tp-signup,
.tp-body .tp-signin {
  padding: 30px;
  /* prevent 100vh + padding from causing page scroll */
  min-height: 100vh;
  box-sizing: border-box; }

/* Left hero stays vertically centered */
.tp-body .tp-preface {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

/* Right auth panels vertically centered, still scroll if content is tall */
.tp-body .tp-signup,
.tp-body .tp-signin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

/* Keep left hero fixed and allow only the right auth panel to scroll */
.tp-body .tp-signup,
.tp-body .tp-signin {
  height: 100vh;
  overflow-y: auto; }

.tp-body .tp-preface {
  color: white;
  background: #0e2a3f;
  text-align: left;
  padding: 30px; }

/* Ensure right column has no grey background */
.tp-body .tp-signin,
.tp-body .tp-signup {
  background: transparent !important; }

/* Override any inline background that might come from an old JS bundle */
.tp-signin div[style*="background"],
.tp-signup div[style*="background"] {
  background: transparent !important;
  box-shadow: none !important; }

.tp-preface .tp-header-container .tp-heading {
  font-size: 37px; }

.tp-preface .tp-header-container .tp-sub-heading {
  font-size: 20px;
  opacity: 0.75; }

.tp-preface .tp-why-us-container,
.tp-preface .tp-testimony-container {
  background: #122b3c;
  border-radius: 10px; }

.tp-preface .tp-testimony-container {
  /* add breathing room at bottom */
  margin-bottom: 24px; }

/* Remove extra top margin on the very first logo row */
.tp-preface .tp-header-container p.mt-3 {
  margin-top: 0 !important; }

.tp-preface .tp-testimony-container .tp-testimony {
  background: #183245;
  border-radius: 10px; }

.tp-preface .tp-why-us-container .why-us-text {
  font-size: 30px;
  color: #73949f;
  display: block;
  margin-bottom: 1rem; }

.tp-preface .tp-why-us-container p::after {
  font-family: "Material Design Icons";
  content: "\F0133";
  margin-left: 10px;
  color: #00c9a5; }

.tp-preface .tp-testimony-container .row > [class*="col-"] {
  padding: 1.5rem; }

.tp-preface .tp-sponsors {
  display: flex;
  align-items: center;
  gap: 5%;
  justify-content: space-between; }

.tp-preface .tp-sponsors span img {
  width: 100%;
  height: auto; }

/* ------ */
/* --- Marketing landing (redesigned) --- */
/*
 * Brand palette:
 *   Primary orange : #F97316  (construction safety / Indian warmth)
 *   Deep navy      : #0F2744  (authority, dashboard shell)
 *   Teal accent    : #0D9488  (success, data highlights)
 *   Success green  : #22C55E
 */
.shramik-landing {
  background: #fffbf7;
  color: #0f172a; }

/* ---- Nav ---- */
.shramik-landing__nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0; }

.shramik-landing__logo-wordmark {
  font-size: 18px;
  color: #0e2a3f;
  letter-spacing: -0.01em; }

.shramik-landing__nav-links a {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
  font-weight: 500; }

.shramik-landing__nav-links a:hover {
  color: #0f172a; }

.shramik-landing__nav-signin {
  color: #f97316 !important;
  font-weight: 600 !important; }

.shramik-landing__nav-signin:hover {
  color: #ea580c !important; }

/* ---- Hero ---- */
.shramik-landing__hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #fffbf7 0%, #fff7ed 40%, #ffffff 100%);
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden; }

.shramik-landing__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffedd5;
  color: #ea580c;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid #fed7aa; }

.shramik-landing__hero-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0e2a3f;
  margin-bottom: 1.25rem; }

.shramik-landing__hero-body {
  font-size: 17px;
  color: #475569;
  max-width: 34rem;
  line-height: 1.7;
  margin-bottom: 2rem; }

/* ---- Buttons ---- */
.shramik-landing__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 10px;
  background: #1677ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.3), 0 2px 8px rgba(22, 119, 255, 0.15);
  transition: all 0.2s ease;
  cursor: pointer; }

.shramik-landing__btn-primary:hover {
  background: #0958d9;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(22, 119, 255, 0.4);
  transform: translateY(-1px); }

.shramik-landing__btn-primary--lg {
  padding: 16px 32px;
  font-size: 16px; }

.shramik-landing__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 10px;
  background: transparent;
  color: #0e2a3f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #cbd5e1;
  transition: all 0.2s ease; }

.shramik-landing__btn-ghost:hover {
  border-color: #f97316;
  color: #f97316;
  background: #fff7ed; }

.shramik-landing__btn-ghost--lg {
  padding: 16px 32px;
  font-size: 16px; }

/* ---- Trust row ---- */
.shramik-landing__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; }

.shramik-landing__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500; }

.shramik-landing__trust-item .mdi {
  color: #22c55e;
  font-size: 16px; }

/* ---- Hero card ---- */
.shramik-landing__hero-card-wrap {
  position: relative;
  padding: 20px 20px 48px; }

.shramik-landing__hero-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(15, 39, 68, 0.12), 0 4px 20px rgba(15, 39, 68, 0.08);
  animation: shramik-float 7s ease-in-out infinite;
  border: 1px solid #f1f5f9; }

.shramik-landing__hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px; }

.shramik-landing__hero-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 4px;
  font-weight: 600; }

.shramik-landing__hero-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0e2a3f; }

.shramik-landing__live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #bbf7d0;
  white-space: nowrap; }

.shramik-landing__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: shramik-pulse 2s ease-in-out infinite; }

.shramik-landing__metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px; }

.shramik-landing__metric {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #f1f5f9; }

.shramik-landing__metric-value {
  font-size: 18px;
  font-weight: 700;
  color: #0e2a3f;
  line-height: 1.2; }

.shramik-landing__metric--success .shramik-landing__metric-value {
  color: #16a34a; }

.shramik-landing__metric-label {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 2px; }

/* ---- Bars ---- */
.shramik-landing__bars {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.shramik-landing__bar-row {
  display: flex;
  align-items: center;
  gap: 10px; }

.shramik-landing__bar-label {
  font-size: 12px;
  color: #64748b;
  width: 68px;
  flex-shrink: 0;
  font-weight: 500; }

.shramik-landing__bar-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden; }

.shramik-landing__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #fbbf24);
  animation: shramik-bar-grow 1.8s ease-out forwards; }

.shramik-landing__bar-fill--success {
  background: linear-gradient(90deg, #0d9488, #22c55e); }

.shramik-landing__bar-pct {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  width: 32px;
  text-align: right;
  flex-shrink: 0; }

/* ---- Floating badges ---- */
.shramik-landing__float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.12);
  border: 1px solid #f1f5f9;
  animation: shramik-float 7s ease-in-out 1s infinite; }

.shramik-landing__float-badge .mdi {
  font-size: 22px;
  color: #f97316; }

.shramik-landing__float-badge--left {
  bottom: 16px;
  left: 0; }

.shramik-landing__float-badge--right {
  top: 8px;
  right: 0;
  animation-delay: 2.5s; }

.shramik-landing__float-badge-val {
  font-size: 13px;
  font-weight: 700;
  color: #0e2a3f;
  line-height: 1.2; }

.shramik-landing__float-badge-sub {
  font-size: 11px;
  color: #94a3b8; }

/* ---- Stats strip ---- */
.shramik-landing__stats-strip {
  background: #0e2a3f;
  padding: 2.5rem 0; }

.shramik-landing__stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px; }

.shramik-landing__stat {
  text-align: center; }

.shramik-landing__stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #f97316;
  letter-spacing: -0.02em;
  line-height: 1.1; }

.shramik-landing__stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  font-weight: 500; }

.shramik-landing__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12); }

/* ---- Shared section headers ---- */
.shramik-landing__section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f97316;
  margin-bottom: 12px; }

.shramik-landing__section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #0e2a3f;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 540px;
  margin-bottom: 1rem; }

.shramik-landing__section-sub {
  font-size: 16px;
  color: #475569;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 0; }

/* ---- Feature cards ---- */
.shramik-landing__features {
  padding: 5rem 0;
  background: #ffffff; }

.shramik-landing__feature-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden; }

.shramik-landing__feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 39, 68, 0.1);
  border-color: #fed7aa; }

.shramik-landing__feature-card--featured {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74; }

.shramik-landing__feature-card--featured::after {
  content: "Most popular";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ea580c;
  background: #fef3c7;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #fde68a; }

.shramik-landing__feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px; }

.shramik-landing__feature-icon .mdi {
  font-size: 26px;
  color: #f97316; }

.shramik-landing__feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #0e2a3f;
  margin-bottom: 10px; }

.shramik-landing__feature-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px; }

.shramik-landing__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px; }

.shramik-landing__feature-list li {
  font-size: 13px;
  color: #475569;
  padding-left: 20px;
  position: relative;
  font-weight: 500; }

.shramik-landing__feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f97316;
  font-weight: 700; }

/* ---- How it works ---- */
.shramik-landing__how {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0; }

.shramik-landing__how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem; }

.shramik-landing__how-step {
  flex: 1;
  text-align: center;
  padding: 0 20px; }

.shramik-landing__how-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffedd5;
  border: 3px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative; }

.shramik-landing__how-step-icon .mdi {
  font-size: 30px;
  color: #f97316; }

.shramik-landing__how-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f97316;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fffbf7; }

.shramik-landing__how-connector {
  flex: 0 0 80px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #fed7aa 0, #fed7aa 6px, transparent 6px, transparent 12px);
  margin-top: 36px;
  align-self: flex-start; }

.shramik-landing__how-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #0e2a3f;
  margin-bottom: 10px; }

.shramik-landing__how-step-body {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin: 0; }

/* ---- Testimonial ---- */
.shramik-landing__testimonial {
  padding: 5rem 0;
  background: #0e2a3f; }

.shramik-landing__testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center; }

.shramik-landing__testimonial-quote-mark {
  font-size: 80px;
  line-height: 0.8;
  color: #f97316;
  font-weight: 900;
  margin-bottom: 16px;
  font-family: Georgia, serif;
  display: block; }

.shramik-landing__testimonial-text {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: normal; }

.shramik-landing__testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 14px; }

.shramik-landing__testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 2px solid rgba(249, 115, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; }

.shramik-landing__testimonial-avatar .mdi {
  font-size: 26px;
  color: #f97316; }

.shramik-landing__testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  text-align: left; }

.shramik-landing__testimonial-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: left; }

/* ---- Final CTA section ---- */
.shramik-landing__cta-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fef3c7 100%);
  border-top: 1px solid #fed7aa; }

.shramik-landing__cta-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #0e2a3f;
  letter-spacing: -0.025em;
  margin-bottom: 1rem; }

.shramik-landing__cta-sub {
  font-size: 16px;
  color: #64748b;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7; }

.shramik-landing__cta-note {
  font-size: 13px;
  color: #94a3b8; }

/* ---- Footer ---- */
.shramik-landing__footer {
  padding: 1.5rem 0;
  background: #0e2a3f;
  border-top: 1px solid rgba(255, 255, 255, 0.08); }

.shramik-landing__footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff; }

.shramik-landing__footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4); }

/* ---- Animations ---- */
@keyframes shramik-float {
  0%, 100% {
    transform: translateY(0); }
  50% {
    transform: translateY(-8px); } }

@keyframes shramik-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1); }
  50% {
    opacity: 0.5;
    transform: scale(0.8); } }

@keyframes shramik-bar-grow {
  from {
    clip-path: inset(0 100% 0 0); }
  to {
    clip-path: inset(0 0% 0 0); } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .shramik-landing__hero {
    padding: 3rem 0 2.5rem; }
  .shramik-landing__hero-card-wrap {
    padding: 12px 12px 40px; }
  .shramik-landing__float-badge {
    display: none; }
  .shramik-landing__stat-divider {
    display: none; }
  .shramik-landing__stats-row {
    gap: 32px; }
  .shramik-landing__how-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px; }
  .shramik-landing__how-connector {
    width: 2px;
    height: 40px;
    flex: 0 0 auto;
    margin: 0;
    background: repeating-linear-gradient(180deg, #fed7aa 0, #fed7aa 6px, transparent 6px, transparent 12px); }
  .shramik-landing__how-step {
    width: 100%;
    max-width: 400px; } }

@media (max-width: 576px) {
  .shramik-landing__nav-links {
    display: none !important; }
  .shramik-landing__metrics-row {
    gap: 8px; }
  .shramik-landing__metric-value {
    font-size: 15px; }
  .shramik-landing__hero-card {
    padding: 16px;
    border-radius: 14px; }
  .shramik-landing__btn-primary {
    width: 100%;
    justify-content: center; }
  .shramik-landing__features {
    padding: 3rem 0; }
  .shramik-landing__section-title {
    max-width: 100%; }
  .shramik-landing__section-sub {
    max-width: 100%; }
  .shramik-landing__cta-section {
    padding: 3rem 0; }
  .shramik-landing__testimonial {
    padding: 3rem 0; } }

/* --- Auth left panel (tp-preface-* redesign) --- */
.tp-preface-inner {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; }

.tp-preface-logo {
  display: flex;
  align-items: center;
  gap: 10px; }

.tp-preface-wordmark {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em; }

.tp-preface-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, 0.3);
  margin-bottom: 16px; }

.tp-preface-title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px; }

.tp-preface-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 0; }

.tp-preface-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; }

.tp-preface-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500; }

.tp-preface-benefits .mdi {
  font-size: 20px;
  color: #f97316;
  flex-shrink: 0; }

.tp-preface-testimonial {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px; }

.tp-preface-quote {
  font-size: 48px;
  line-height: 0.8;
  color: #f97316;
  font-weight: 900;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  display: block; }

.tp-preface-quote-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px; }

.tp-preface-author {
  display: flex;
  align-items: center;
  gap: 12px; }

.tp-preface-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; }

.tp-preface-author-avatar .mdi {
  font-size: 22px;
  color: #f97316; }

.tp-preface-author-name {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9); }

.tp-preface-author-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4); }

/* ---- Ant Design overrides for auth forms (blue primary) ---- */
.tp-signin .ant-btn-primary,
.tp-signup .ant-btn-primary {
  background-color: #1677ff !important;
  border-color: #1677ff !important;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.25) !important; }

.tp-signin .ant-btn-primary:not(:disabled):hover,
.tp-signup .ant-btn-primary:not(:disabled):hover {
  background-color: #0958d9 !important;
  border-color: #0958d9 !important; }

.tp-signin .ant-btn-primary:disabled,
.tp-signup .ant-btn-primary:disabled {
  background-color: rgba(22, 119, 255, 0.35) !important;
  border-color: rgba(22, 119, 255, 0.35) !important;
  box-shadow: none !important; }

.tp-signin a,
.tp-signup a {
  color: #1677ff; }

.tp-signin a:hover,
.tp-signup a:hover {
  color: #0958d9; }

/* ---- Responsive for new tp-preface classes ---- */
@media (max-width: 768px) {
  .tp-preface-inner {
    gap: 1.75rem; }
  .tp-preface-title {
    font-size: 28px; }
  .tp-preface-testimonial {
    display: none; } }

@media (max-width: 576px) {
  .auth-panel {
    padding: 20px 16px;
    border-radius: 10px; } }

/* --- Form CSS --- */
.tp-form .form-group {
  margin-bottom: 2rem; }

.tp-form label {
  color: #696f79;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 1rem; }

.tp-form .form-check {
  display: flex;
  align-items: center;
  gap: 10px; }

.tp-form .form-check .form-check-label {
  margin-bottom: 0; }

.tp-form input.form-control,
.tp-form select.form-control {
  border: 1px solid #8692a6;
  padding: 1.5rem; }

.tp-form .tp-select {
  position: relative; }

.tp-form .tp-select::after {
  font-family: "Material Design Icons";
  content: "\F0B26";
  color: #c5dfe7;
  float: right;
  font-size: 25px;
  position: absolute;
  right: 3%;
  top: calc(50% - 1rem); }

.tp-form input::placeholder {
  color: #8692a6; }

.tp-form .submit-btn {
  color: white;
  background: #051d2e;
  width: 100%;
  padding: 1.5rem;
  font-size: 20px;
  font-weight: 500; }

/** App css below **/
#tp-app {
  height: 100vh; }

/* Role selection (landing) */
.role-select-form .role-option {
  cursor: pointer; }

.role-select-form input[type="radio"] {
  display: none; }

.role-select-form .role-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px 20px;
  background: #ffffff; }

.role-select-form input[type="radio"]:checked + .role-card {
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25); }

.role-select-form .role-label {
  font-weight: 600; }

.role-select-form .role-description {
  font-size: 0.9rem;
  color: #6c757d; }

/* ------- */
/* Company contractors: tooltip styling for extra structures list (+N more) */
.contractor-structures-more {
  border-radius: 4px;
  padding: 0 4px;
  transition: background 0.15s ease; }

.contractor-structures-more:hover {
  background: #e6f4ff; }

.contractor-structures-tooltip .ant-tooltip-inner {
  transition: background 0.15s ease; }

.contractor-structures-tooltip:hover .ant-tooltip-inner {
  background: #f5f5f5; }

.contractor-structures-tooltip-item {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px; }

.contractor-structures-tooltip-item:hover {
  background: #e6f4ff;
  color: #0f172a; }

/* Shared calendar trigger button (attendance + executed items) */
.calendar-trigger.ant-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  border-color: #d9d9d9;
  background: #ffffff;
  padding-inline: 10px 12px; }

.calendar-trigger-label {
  font-size: 13px;
  font-weight: 500; }

.calendar-trigger-date {
  font-size: 13px;
  color: #0f172a; }

.calendar-trigger-arrow {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.45); }

.calendar-trigger.ant-btn:hover,
.calendar-trigger.ant-btn:focus {
  border-color: #1677ff;
  background: #e6f4ff; }

.calendar-trigger.ant-btn:hover .calendar-trigger-arrow,
.calendar-trigger.ant-btn:focus .calendar-trigger-arrow {
  color: #1677ff; }

/* (Structure overview cards now use Ant Design Row/Col layout
   directly; no extra grid/flex styling needed here.) */
/* Dashboard overview (company + structures tabs) */
.tp-dashboard .tp-overview-summary {
  color: #0f172a; }

.tp-dashboard .tp-overview-summary .ant-card {
  border-radius: 8px; }

.tp-dashboard .tp-overview-summary .ant-card-head-title {
  font-size: 14px;
  font-weight: 600; }

.tp-dashboard .tp-overview-summary .tp-metric-label {
  font-size: 11px;
  color: rgba(15, 23, 42, 0.55); }

.tp-dashboard .tp-overview-summary .tp-metric-value {
  font-size: 20px;
  font-weight: 600; }

.tp-dashboard .tp-overview-summary .tp-metric-note {
  font-size: 11px;
  color: rgba(15, 23, 42, 0.6); }

.tp-dashboard .tp-overview-summary .tp-structure-snapshot-card {
  background: #ffffff;
  border-color: #f0f0f0; }

.tp-dashboard .tp-overview-summary .tp-structure-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 10px;
  margin: 4px 0 12px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #f0f0f0; }

/* Smaller, inline auth error styling inside auth panel */
.auth-errors .tp-flash {
  font-size: 12px;
  padding: 6px 8px;
  margin-bottom: 8px; }

/** Media Queries **/
@media (max-width: 576px) {
  .tp-preface .tp-testimony-container .tp-testimony {
    background: unset; }
  /* Make auth forms narrower on small mobile screens */
  .auth-panel {
    padding: 16px; }
  /* Reduce font sizes for better mobile readability */
  .tp-preface .tp-header-container .tp-heading {
    font-size: 28px; }
  .tp-preface .tp-header-container .tp-sub-heading {
    font-size: 16px; }
  .tp-preface .tp-why-us-container .why-us-text {
    font-size: 24px; }
  .tp-preface .tp-why-us-container,
  .tp-preface .tp-testimony-container {
    padding: 16px; }
  /* Reduce padding on mobile auth pages */
  .tp-body .tp-preface {
    padding: 24px 16px; }
  .tp-body .tp-signup,
  .tp-body .tp-signin {
    padding: 16px; } }

@media (max-width: 768px) {
  .tp-body .container-fluid > .row {
    flex-direction: column-reverse; }
  /* Stack hero and form on tablets/mobile */
  .tp-body .row > .col {
    min-height: auto; }
  /* Allow hero to be smaller on mobile */
  .tp-body .tp-preface {
    min-height: 60vh;
    padding: 32px 20px; }
  /* Make form section more compact */
  .tp-body .tp-signup,
  .tp-body .tp-signin {
    height: auto;
    min-height: 40vh;
    padding: 24px 16px; } }

/** ---------- */
/* --- Dashboard (TP-like) --- */
.tp-dashboard {
  height: 100vh;
  overflow: hidden;
  /* Keep the shell fixed to the viewport; scroll only inside content */ }

/* Use dynamic viewport height where supported (iPad / mobile Safari fix) */
@supports (height: 100dvh) {
  .tp-dashboard {
    height: 100dvh; } }

.tp-dashboard .tp-sider {
  background: #0e2a3f !important; }

/* Sidebar navigation: make the active item clearly stand out. */
.tp-dashboard .tp-sider .ant-menu-item {
  border-radius: 6px;
  margin: 2px 8px; }

.tp-dashboard .tp-sider .ant-menu-item-selected {
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 3px 0 0 #f97316; }

.tp-dashboard .tp-sider .ant-menu-item:hover {
  background: rgba(255, 255, 255, 0.06) !important; }

.tp-dashboard .tp-sider .ant-menu:last-child {
  /* Bottom logout section spacing */
  margin-top: 0; }

.tp-dashboard .tp-sider .ant-menu,
.tp-dashboard .tp-sider .ant-menu * {
  color: #d6e2e7 !important; }

.tp-dashboard .tp-sider .ant-menu-item-selected,
.tp-dashboard .tp-sider .ant-menu-item-selected * {
  color: #ffffff !important; }

.tp-dashboard .ant-layout-content {
  /* airy content area like TP */
  padding: 24px;
  background: #f7f9fb;
  min-height: 0;
  overflow-y: auto;
  /* Allow the main content area to scroll while sidebar stays fixed */ }

/* Active tab: ink bar + label both orange */
.tp-dashboard .ant-tabs-ink-bar {
  background: #f97316 !important; }

.tp-dashboard .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #f97316 !important; }

/* Ensure wide Ant Design tables scroll horizontally within the dashboard
   content area instead of causing the whole viewport to overflow. */
.tp-dashboard .ant-table-wrapper {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */ }

/* Make table cells more touch-friendly on mobile and tablet (including iPad) */
@media (max-width: 1024px) {
  .tp-dashboard .ant-table-thead > tr > th,
  .tp-dashboard .ant-table-tbody > tr > td {
    padding: 12px 8px;
    white-space: nowrap; }
  /* Make action buttons more touch-friendly */
  .tp-dashboard .ant-btn-sm {
    padding: 6px 12px;
    min-width: 44px;
    /* Minimum touch target */
    min-height: 32px; }
  /* Better spacing for table action buttons */
  .tp-dashboard .ant-space-horizontal {
    gap: 8px !important; } }

@media (max-width: 768px) {
  .tp-dashboard .ant-layout-content {
    padding: 16px 12px; }
  /* Make dashboard header more compact on mobile */
  .tp-dashboard-header-inner {
    height: 56px;
    padding: 0 8px; }
  .tp-dashboard-header-left {
    gap: 12px; } }

/* Extra small mobile devices */
@media (max-width: 480px) {
  .tp-dashboard .ant-layout-content {
    padding: 12px 8px; }
  /* Even more compact on very small screens */
  .tp-dashboard-header-inner {
    height: 52px; } }

.tp-dashboard-header {
  background: #ffffff;
  padding: 0 16px;
  border-bottom: 1px solid #f0f0f0; }

.tp-dashboard-header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between; }

.tp-dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 8px; }

.tp-dashboard-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #0f172a;
  padding: 0; }

.tp-dashboard-menu-toggle:hover {
  background: #f5f5f5;
  border-color: #d9d9d9; }

/* Show menu toggle only on larger screens (desktop) */
@media (min-width: 1025px) {
  .tp-dashboard-menu-toggle {
    display: none !important; } }

/* Always show on mobile and tablet (including iPad) */
@media (max-width: 1024px) {
  .tp-dashboard-menu-toggle {
    display: inline-flex !important; } }

/* Mobile and tablet sidebar overlay improvements */
@media (max-width: 1024px) {
  /* When sidebar is open on mobile/tablet, add backdrop */
  .tp-dashboard .ant-layout-sider {
    position: fixed !important;
    z-index: 1000;
    height: 100vh; }
  /* Ensure content area takes full width on mobile/tablet */
  .tp-dashboard .ant-layout {
    margin-left: 0 !important; } }

/* Table-like rows for dashboard lists (projects, etc.) */
.tp-dashboard .tp-dashboard-table-row {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr) minmax(0, 1.5fr) auto;
  align-items: center;
  padding: 8px 12px;
  column-gap: 16px; }

.tp-dashboard .tp-dashboard-table-row + .tp-dashboard-table-row {
  border-top: 1px solid #f0f0f0; }

.tp-dashboard .tp-dashboard-table-row__actions {
  text-align: center; }

/* Subtle styling for Ant Design tables used in dashboard lists */
.ant-table-tbody > tr:nth-child(even) > td {
  background: #fbfdff; }

.ant-table-tbody > tr:hover > td {
  background: #f5f7fa; }

/* Smaller table headers specifically for project details tables */
.tp-project-details-table .ant-table-thead > tr > th {
  font-size: 11px;
  padding-top: 6px;
  padding-bottom: 6px; }

/* Compact headers for billing suppliers table inside structure overview */
.tp-billing-suppliers-table .ant-table-thead > tr > th {
  white-space: nowrap;
  font-size: 11px; }

@media (max-width: 1024px) {
  .tp-dashboard .tp-dashboard-table-row {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    row-gap: 4px;
    padding: 12px 8px; }
  .tp-dashboard .tp-dashboard-table-row__meta,
  .tp-dashboard .tp-dashboard-table-row__actions {
    grid-column: 1 / -1;
    margin-top: 8px; }
  .tp-dashboard .tp-dashboard-table-row__actions {
    text-align: left;
    display: flex;
    gap: 8px;
    flex-wrap: wrap; }
  /* Make project/contractor tables more mobile and tablet-friendly */
  .tp-dashboard .tp-dashboard-table-row__primary {
    font-size: 14px; }
  .tp-dashboard .tp-dashboard-table-row__secondary {
    font-size: 12px; } }

/* --------------------------- */
/* --- Mobile & Tablet Modal & Form Improvements --- */
/* Make modals responsive on mobile and tablet (including iPad) */
@media (max-width: 1024px) {
  .ant-modal {
    max-width: calc(100vw - 32px) !important;
    margin: 16px auto; }
  .ant-modal-content {
    border-radius: 8px; }
  .ant-modal-header {
    padding: 16px 20px; }
  .ant-modal-body {
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto; }
  .ant-modal-footer {
    padding: 12px 20px; }
  /* Make form inputs more touch-friendly */
  .ant-input,
  .ant-input-number,
  .ant-picker,
  .ant-select-selector {
    min-height: 40px; }
  .ant-btn {
    min-height: 40px;
    padding: 8px 16px; }
  .ant-form-item {
    margin-bottom: 16px; }
  /* Better spacing for form labels */
  .ant-form-item-label > label {
    height: auto;
    font-size: 14px; } }

@media (max-width: 480px) {
  .ant-modal {
    max-width: calc(100vw - 16px) !important;
    margin: 8px auto; }
  .ant-modal-header {
    padding: 12px 16px; }
  .ant-modal-body {
    padding: 16px; }
  .ant-modal-footer {
    padding: 10px 16px; }
  /* Stack modal footer buttons on very small screens */
  .ant-modal-footer .ant-btn + .ant-btn {
    margin-left: 0;
    margin-top: 8px; }
  .ant-modal-footer {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px; }
  .ant-modal-footer .ant-btn {
    width: 100%;
    margin: 0; } }

/* --------------------------- */
/* --- Clean Flash messages --- */
.tp-flash {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
  border: 1px solid transparent; }

.tp-flash .mdi {
  font-size: 18px;
  line-height: 1.2;
  margin-top: 0; }

.tp-flash--error {
  background: #fff2f0;
  /* subtle red */
  border-color: #ffccc7;
  color: #a8071a; }

.tp-flash--info {
  background: #e6f4ff;
  /* subtle blue */
  border-color: #91caff;
  color: #0958d9; }

.tp-flash--success {
  background: #f6ffed;
  /* subtle green */
  border-color: #b7eb8f;
  color: #237804; }

/* --------------------------- */
/* --- Global Mobile & Tablet Touch Improvements --- */
/* Improve touch targets across the app (mobile and tablet including iPad) */
@media (max-width: 1024px) {
  /* Better spacing for interactive elements */
  .ant-space-item {
    margin-bottom: 8px; }
  /* Prevent Space components from having conflicting flex directions */
  .ant-space-horizontal {
    flex-wrap: wrap !important; }
  /* Ensure radio button groups stay inline but wrap properly */
  .ant-radio-group {
    display: inline-flex;
    flex-wrap: wrap; }
  .ant-radio-button-wrapper {
    flex: 0 0 auto; }
  /* Keep attendance toggle groups compact and inline */
  .attendance-toggle-group {
    display: inline-flex !important;
    flex-wrap: nowrap !important; }
  /* Improve select dropdowns on mobile and tablet */
  .ant-select-dropdown {
    max-height: 60vh; }
  /* Better date picker on mobile */
  .ant-picker-dropdown {
    max-width: calc(100vw - 32px); }
  /* Improve popover/dropdown positioning on mobile */
  .ant-popover,
  .ant-dropdown {
    max-width: calc(100vw - 32px); }
  /* Better scrolling for cards */
  .ant-card-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
  /* Improve tabs on mobile */
  .ant-tabs-nav-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
  .ant-tabs-tab {
    padding: 12px 16px;
    margin: 0 4px; }
  /* Improve avatar sizing */
  .ant-avatar {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 16px; } }

/* Extra improvements for very small screens */
@media (max-width: 480px) {
  /* Reduce general padding */
  .ant-card {
    border-radius: 6px; }
  /* More compact typography */
  h1, .ant-typography-h1 {
    font-size: 24px; }
  h2, .ant-typography-h2 {
    font-size: 20px; }
  h3, .ant-typography-h3 {
    font-size: 18px; }
  h4, .ant-typography-h4 {
    font-size: 16px; }
  /* Compact pagination */
  .ant-pagination {
    font-size: 12px; }
  .ant-pagination-item {
    min-width: 32px;
    height: 32px;
    line-height: 30px; } }

/* Landscape orientation improvements for mobile and tablet (including iPad) */
@media (max-width: 1024px) and (orientation: landscape) {
  .tp-dashboard .ant-layout-content {
    padding: 12px; }
  .ant-modal-body {
    max-height: calc(100vh - 150px); } }

/* --------------------------- */
