/* বাংলা ব্যাখ্যা: public website ও সাধারণ পেজের style নির্ধারণ করে। */
/* Simple English: These rules style public and sign-in pages. */

/* NAGAR public/auth UI — deliberately isolated from customer/admin dashboard styles. */
/* Self-contained primitives so public pages remain styled even if dashboard CSS changes. */
.public-body a {
  color: #8edaff;
  text-decoration: none
}

.public-body a:hover {
  color: #fff
}

.public-body .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none
}

.public-body .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 900;
  background: linear-gradient(145deg, #13bfff, #5145ff 60%, #8d2bff);
  box-shadow: 0 0 24px rgba(8, 123, 255, .4)
}

.public-body .brand b {
  display: block;
  font-size: 24px;
  line-height: 1.05
}

.public-body .brand small {
  display: block;
  color: #a8c9ee;
  font-size: 12px;
  margin-top: 4px
}

.public-body .eyebrow {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .16em;
  color: #41cfff;
  text-transform: uppercase
}

.public-body .btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  padding: 10px 17px;
  border-radius: 12px;
  color: #fff;
  font-weight: 750;
  background: #0a2a4d
}

.public-body .btn.primary {
  background: linear-gradient(100deg, #07beff, #2355ff 58%, #9c24ff);
  box-shadow: 0 7px 20px rgba(40, 91, 255, .28)
}

.public-body .btn.secondary {
  border-color: #176bb0;
  background: #0a2a4b
}

.public-body .btn.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px
}

.public-body .service-card,
.public-body .card {
  border: 1px solid #164a78;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(8, 30, 58, .96), rgba(5, 23, 45, .97));
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18)
}

.public-body .service-card {
  display: flex;
  flex-direction: column
}

.public-body .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.public-body .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 25px;
  background: linear-gradient(140deg, #00d9cd, #0878ff);
  box-shadow: 0 0 20px rgba(20, 141, 255, .35)
}

.public-body .pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #148764;
  background: #032c31;
  color: #00e0aa;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px
}

.public-body .service-card h3 {
  font-size: 18px;
  margin: 5px 0
}

.public-body .service-card p {
  color: #a8c1df;
  font-size: 13px;
  margin: 4px 0 14px
}

.public-body .service-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.public-body .service-foot strong {
  font-size: 20px
}

.public-body .empty-state {
  text-align: center;
  padding: 44px 20px
}

.public-body {
  min-height: 100vh;
  background: radial-gradient(circle at 78% 0%, rgba(86, 58, 215, .22), transparent 34%), radial-gradient(circle at 8% 18%, rgba(0, 185, 255, .12), transparent 28%), #030d1c;
  color: #f0f6ff
}

.public-topbar {
  min-height: 76px;
  padding: 12px clamp(16px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(52, 127, 190, .25);
  background: rgba(3, 13, 28, .9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20
}

.public-topbar .brand {
  min-width: 0;
  flex: 0 0 auto
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap
}

.public-nav>a:not(.btn) {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  color: #c7ddf5
}

.public-nav>a:not(.btn):hover {
  background: #0a2441;
  color: #fff
}

.public-main {
  width: min(1220px, 92vw);
  margin: 0 auto;
  padding: 38px 0 52px
}

.public-hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 34px;
  align-items: center;
  padding: 46px clamp(24px, 4vw, 54px);
  border: 1px solid #15518a;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(9, 38, 72, .97), rgba(7, 21, 47, .94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  overflow: hidden;
  position: relative
}

.public-hero:before {
  content: "";
  position: absolute;
  inset: auto -80px -190px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 55, 255, .26), transparent 67%);
  pointer-events: none
}

.public-hero-copy {
  position: relative;
  z-index: 2
}

.public-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 10px 0 18px
}

.public-hero h1 span {
  background: linear-gradient(90deg, #16cfff, #9a5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.public-hero p {
  max-width: 690px;
  color: #a8c3e1;
  font-size: 16px
}

.public-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px
}

.public-hero-art {
  height: 290px;
  position: relative;
  display: grid;
  place-items: center
}

.public-core {
  width: 116px;
  height: 116px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 58px;
  font-weight: 900;
  background: linear-gradient(145deg, #0dcfff, #783cff);
  box-shadow: 0 0 55px rgba(45, 160, 255, .35);
  position: relative;
  z-index: 2
}

.public-orbit {
  position: absolute;
  width: 290px;
  height: 138px;
  border: 1px solid rgba(30, 202, 255, .48);
  border-radius: 50%;
  transform: rotate(-18deg);
  display: grid;
  place-items: center;
  color: #31d8ff;
  font-size: 30px;
  font-weight: 900
}

.public-orbit.orbit-two {
  width: 220px;
  height: 260px;
  transform: rotate(32deg);
  color: #a66bff;
  border-color: rgba(166, 107, 255, .45)
}

.public-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 44px 0 18px
}

.public-section-head h2 {
  font-size: 30px;
  margin: 5px 0
}

.public-section-head p {
  margin: 0;
  color: #91aac5
}

.public-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.public-service-card {
  min-height: 240px
}

.public-service-card .service-foot {
  gap: 12px
}

.public-service-card .service-foot .btn {
  white-space: nowrap
}

.public-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px
}

.public-flow>div {
  border: 1px solid rgba(62, 151, 226, .22);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(145deg, #071d38, #06162d);
  display: grid;
  gap: 5px
}

.public-flow span {
  font-size: 11px;
  color: #20cfff;
  letter-spacing: .12em
}

.public-flow b {
  font-size: 16px
}

.public-flow small {
  color: #91aac5
}

.public-footer {
  width: min(1220px, 92vw);
  margin: 0 auto;
  padding: 18px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #6f8eaf;
  font-size: 12px;
  border-top: 1px solid rgba(52, 127, 190, .18)
}

.auth-bg {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: radial-gradient(ellipse at 50% 10%, #103876 0, transparent 48%), #030d1c
}

.auth-shell {
  width: min(460px, 100%)
}

.auth-shell>.brand {
  margin: 0 auto 22px;
  justify-content: center
}

.auth-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.auth-back,
.auth-close {
  border: 1px solid #1b507e;
  background: #071b33;
  color: #bcd7f2;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer
}

.auth-back:hover,
.auth-close:hover {
  border-color: #2bbfff;
  color: #fff
}

.auth-card {
  border: 1px solid #1e5790;
  border-radius: 22px;
  padding: 30px;
  background: linear-gradient(150deg, #082447, #06162e);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28)
}

.auth-card h1 {
  font-size: 29px;
  margin: 7px 0
}

.auth-card>p {
  color: #a6bfdc
}

.auth-switch {
  font-size: 13px;
  margin: 14px 0;
  color: #a6bfdc
}

.auth-switch a {
  font-weight: 700
}

.auth-card .btn {
  width: 100%;
  margin-top: 4px
}

.auth-card .muted {
  font-size: 13px;
  margin-top: 19px
}

.auth-card small {
  color: #91aac5
}

@media(max-width:850px) {
  .public-topbar {
    padding: 12px 16px
  }

  .public-main {
    padding-top: 22px
  }

  .public-hero {
    grid-template-columns: 1fr;
    padding: 30px 22px
  }

  .public-hero-art {
    height: 190px;
    order: -1
  }

  .public-service-grid,
  .public-flow {
    grid-template-columns: 1fr
  }

  .public-section-head {
    align-items: flex-start;
    flex-direction: column
  }

  .public-footer {
    flex-direction: column
  }

  .public-hero h1 {
    font-size: 42px
  }
}

@media(max-width:560px) {
  .public-nav {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px
  }

  .public-topbar {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px
  }

  .public-hero-art {
    display: none
  }

  .public-hero h1 {
    font-size: 35px
  }

  .public-actions .btn {
    width: 100%
  }

  .public-service-grid {
    gap: 10px
  }

  .public-footer {
    padding-bottom: 24px
  }
}
