/* =========================================================
   MCT PROJECT UNIT ADMIN
========================================================= */

:root {
  --navy: #061638;
  --navy-2: #081e4b;
  --navy-3: #0b285d;

  --blue: #91adff;
  --blue-2: #6f91e5;

  --orange: #ff6840;

  --white: #ffffff;

  --muted: #9aaed0;
  --muted-2: #657ba5;

  --line: rgba(150, 178, 230, 0.18);

  --card: rgba(255, 255, 255, 0.055);

  --green: #62d9a0;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  overflow-x: hidden;

  font-family: "DM Sans", sans-serif;

  color: var(--white);

  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(35, 81, 174, .55),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 80%,
      rgba(255, 104, 64, .08),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #04132f 0%,
      #071b47 48%,
      #061638 100%
    );
}


a {
  color: inherit;
  text-decoration: none;
}


button,
input,
select {
  font: inherit;
}


button {
  cursor: pointer;
}


[hidden] {
  display: none !important;
}


/* =========================================================
   GLOW
========================================================= */

.page-glow {
  position: fixed;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(70px);

  z-index: 0;
}


.glow-one {
  width: 400px;
  height: 400px;

  right: -220px;
  top: 180px;

  background: rgba(78, 124, 236, .12);
}


.glow-two {
  width: 350px;
  height: 350px;

  left: -220px;
  bottom: -100px;

  background: rgba(255, 104, 64, .08);
}


/* =========================================================
   LOGO
========================================================= */

.logo-symbol {
  width: 31px;
  height: 31px;

  padding: 5px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 3px;

  border: 1px solid #7595d2;

  border-radius: 7px;

  transform: rotate(45deg);
}


.logo-symbol i {
  display: block;

  border-radius: 1px;

  background: #85a6ee;
}


.logo-symbol i:nth-child(3) {
  background: #274b91;
}


.logo-symbol i:nth-child(4) {
  background: white;
}


.logo-copy {
  display: flex;

  flex-direction: column;

  line-height: 1;
}


.logo-copy b {
  font-family: "Space Grotesk", sans-serif;

  font-size: 10px;

  letter-spacing: -.3px;
}


.logo-copy b span {
  font-weight: 400;
}


.logo-copy small {
  margin-top: 5px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 6px;

  letter-spacing: 2.2px;

  color: #90a6cd;
}


/* =========================================================
   KICKER
========================================================= */

.kicker {
  display: flex;

  align-items: center;

  gap: 13px;

  color: #8fa7d2;

  font-family: "Space Grotesk", sans-serif;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 3px;
}


.kicker span {
  width: 22px;

  height: 1px;

  background: var(--orange);
}


/* =========================================================
   LOGIN
========================================================= */

.admin-login {
  position: relative;

  z-index: 2;

  min-height: 100vh;

  display: grid;

  place-items: center;

  padding: 30px 20px;
}


.login-card {
  position: relative;

  width: min(500px, 100%);

  padding: 42px;

  border:
    1px solid
    rgba(155,183,232,.16);

  border-radius: 10px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.075),
      rgba(255,255,255,.025)
    );

  box-shadow:
    0 35px 100px rgba(0,0,0,.25),
    inset 0 1px rgba(255,255,255,.04);

  backdrop-filter: blur(24px);

  overflow: hidden;
}


.login-line {
  position: absolute;

  left: 42px;

  top: 0;

  width: 75px;

  height: 2px;

  background: var(--orange);
}


.login-brand {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-bottom: 48px;
}


.login-card h1 {
  margin-top: 20px;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(48px, 9vw, 72px);

  line-height: .9;

  letter-spacing: -4px;

  font-weight: 600;
}


.login-card h1 em,
.admin-hero h1 em,
.section-heading h2 em {
  font-family: Georgia, serif;

  font-weight: 400;

  color: var(--blue);
}


.login-text {
  max-width: 400px;

  margin: 24px 0 30px;

  color: #a7b8d5;

  line-height: 1.7;

  font-size: 14px;
}


.login-card label {
  display: block;

  margin: 18px 0 8px;

  color: #8fa7d2;

  font-family: "Space Grotesk", sans-serif;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


.login-card input {
  width: 100%;

  height: 50px;

  padding: 0 15px;

  border:
    1px solid
    rgba(155,183,232,.16);

  border-radius: 8px;

  outline: none;

  color: white;

  background: rgba(2,12,34,.5);

  transition: .25s ease;
}


.login-card input::placeholder {
  color: #60759c;
}


.login-card input:focus {
  border-color:
    rgba(145,173,255,.55);

  box-shadow:
    0 0 0 3px
    rgba(111,145,229,.08);
}


.password-wrap {
  position: relative;
}


.password-wrap input {
  padding-right: 65px;
}


.password-wrap button {
  position: absolute;

  right: 8px;

  top: 8px;

  height: 34px;

  padding: 0 8px;

  border: 0;

  background: transparent;

  color: #7891bf;

  font-family: "Space Grotesk", sans-serif;

  font-size: 9px;

  letter-spacing: 1px;
}


.primary-btn {
  width: 100%;

  min-height: 52px;

  margin-top: 24px;

  padding: 0 18px;

  border:
    1px solid
    rgba(255,104,64,.55);

  border-radius: 7px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  color: white;

  background:
    linear-gradient(
      135deg,
      #ff6840,
      #d84d2c
    );

  box-shadow:
    0 15px 40px
    rgba(255,104,64,.12);

  transition: .25s ease;
}


.primary-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 45px
    rgba(255,104,64,.2);
}


.primary-btn:disabled {
  opacity: .6;

  cursor: wait;
}


.form-message {
  min-height: 20px;

  margin-top: 14px;

  color: #ff9a7d;

  font-size: 12px;

  line-height: 1.5;
}


.back-link {
  display: inline-block;

  margin-top: 22px;

  color: #8fa7d2;

  font-size: 12px;

  transition: .25s ease;
}


.back-link:hover {
  color: white;
}


/* =========================================================
   HEADER
========================================================= */

.pu-header {
  position: relative;

  z-index: 100;

  border-bottom:
    1px solid
    rgba(255,255,255,.08);

  background:
    rgba(4,18,48,.72);

  backdrop-filter: blur(22px);
}


.pu-nav {
  width:
    min(
      1180px,
      calc(100% - 48px)
    );

  min-height: 92px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}


.pu-logo {
  display: flex;

  align-items: center;

  gap: 12px;
}


.pu-nav-links {
  display: flex;

  align-items: center;

  gap: 34px;
}


.pu-nav-links a {
  color: #b9c8e3;

  font-size: 12px;

  font-weight: 600;

  transition: .25s ease;
}


.pu-nav-links a:hover {
  color: white;
}


.header-actions {
  display: flex;

  align-items: center;

  gap: 12px;
}


.admin-email {
  max-width: 210px;

  overflow: hidden;

  text-overflow: ellipsis;

  color: #7f95bc;

  font-size: 10px;
}


.logout-btn {
  padding: 11px 16px;

  border:
    1px solid
    #3d5d96;

  border-radius: 30px;

  color: #bfcde5;

  background: transparent;

  font-size: 11px;

  transition: .25s ease;
}


.logout-btn:hover {
  border-color: #7898dc;

  transform: translateY(-2px);
}


.pu-menu {
  display: none;

  border: 0;

  background: transparent;
}


.pu-menu span {
  display: block;

  width: 24px;

  height: 2px;

  margin: 5px;

  background: white;
}


.pu-mobile-menu {
  display: none;
}


/* =========================================================
   HERO
========================================================= */

.admin-hero {
  position: relative;

  z-index: 1;

  padding: 85px 0 45px;
}


.hero-inner {
  width:
    min(
      1180px,
      calc(100% - 48px)
    );

  margin: auto;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 35px;
}


.admin-hero h1 {
  margin-top: 25px;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(55px, 8vw, 100px);

  line-height: .88;

  letter-spacing: -5px;

  font-weight: 600;
}


.hero-text {
  max-width: 620px;

  margin-top: 28px;

  color: #a7b8d5;

  font-size: 15px;

  line-height: 1.8;
}


.live-card {
  min-width: 220px;

  padding: 18px;

  display: flex;

  align-items: center;

  gap: 12px;

  border:
    1px solid
    rgba(155,183,232,.16);

  border-radius: 9px;

  background:
    rgba(255,255,255,.045);

  backdrop-filter: blur(18px);
}


.live-dot {
  width: 9px;

  height: 9px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 18px
    rgba(98,217,160,.8);
}


.live-card strong,
.live-card small {
  display: block;
}


.live-card strong {
  font-family: "Space Grotesk", sans-serif;

  font-size: 9px;

  letter-spacing: 2px;
}


.live-card small {
  margin-top: 5px;

  color: #6f86af;

  font-size: 10px;
}


/* =========================================================
   SECTION
========================================================= */

.section-shell {
  width:
    min(
      1180px,
      calc(100% - 48px)
    );

  margin: auto;
}


/* =========================================================
   STATS
========================================================= */

.stats {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 14px;

  padding:
    30px 0 90px;
}


.stat-card {
  position: relative;

  min-height: 150px;

  padding: 24px;

  overflow: hidden;

  border:
    1px solid
    rgba(155,183,232,.14);

  border-radius: 9px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.07),
      rgba(255,255,255,.025)
    );

  backdrop-filter: blur(20px);
}


.stat-card::after {
  content: "MCT";

  position: absolute;

  right: -10px;

  bottom: -38px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 90px;

  font-weight: 700;

  color:
    rgba(255,255,255,.018);
}


.stat-card span,
.stat-card small {
  display: block;
}


.stat-card span {
  color: #7891bf;

  font-family: "Space Grotesk", sans-serif;

  font-size: 9px;

  letter-spacing: 2px;
}


.stat-card strong {
  position: relative;

  z-index: 2;

  display: block;

  margin-top: 12px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 43px;

  font-weight: 600;
}


.stat-card small {
  margin-top: 3px;

  color: #657ba5;

  font-size: 10px;
}


/* =========================================================
   REQUESTS
========================================================= */

.requests {
  position: relative;

  z-index: 2;

  padding-bottom: 110px;
}


.section-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 25px;

  margin-bottom: 30px;
}


.section-heading h2 {
  margin-top: 17px;

  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(42px, 6vw, 70px);

  line-height: .9;

  letter-spacing: -3px;
}


.request-tools {
  display: flex;

  align-items: center;

  gap: 10px;
}


.search-box {
  position: relative;

  width: 280px;
}


.search-box span {
  position: absolute;

  left: 13px;

  top: 50%;

  transform:
    translateY(-52%);

  color: #7087b2;

  font-size: 18px;
}


.search-box input,
.request-tools select {
  border:
    1px solid
    rgba(155,183,232,.16);

  border-radius: 8px;

  outline: none;

  color: white;

  background:
    rgba(2,12,34,.5);

  transition: .25s ease;
}


.search-box input {
  width: 100%;

  height: 44px;

  padding:
    0 14px 0 38px;

  font-size: 11px;
}


.search-box input::placeholder {
  color: #60759c;
}


.request-tools select {
  width: 140px;

  height: 44px;

  padding: 0 12px;

  color: #a9bad7;

  font-size: 10px;
}


.search-box input:focus,
.request-tools select:focus {
  border-color:
    rgba(145,173,255,.55);

  box-shadow:
    0 0 0 3px
    rgba(111,145,229,.08);
}


/* =========================================================
   TABLE
========================================================= */

.request-card {
  border:
    1px solid
    rgba(155,183,232,.14);

  border-radius: 10px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.022)
    );

  backdrop-filter: blur(22px);
}


.table-head,
.request-row {
  display: grid;

  grid-template-columns:
    1.55fr
    1.1fr
    .8fr
    .75fr
    .7fr;

  gap: 15px;

  align-items: center;
}


.table-head {
  min-height: 48px;

  padding: 0 22px;

  border-bottom:
    1px solid
    rgba(255,255,255,.07);

  background:
    rgba(255,255,255,.025);
}


.table-head span {
  color: #60759c;

  font-family: "Space Grotesk", sans-serif;

  font-size: 8px;

  letter-spacing: 1.7px;
}


.request-row {
  min-height: 96px;

  padding: 15px 22px;

  border-bottom:
    1px solid
    rgba(255,255,255,.055);

  transition: .25s ease;
}


.request-row:last-child {
  border-bottom: 0;
}


.request-row:hover {
  background:
    rgba(255,255,255,.025);
}


.project-cell strong,
.project-cell small,
.contact-cell strong,
.contact-cell small {
  display: block;
}


.project-cell strong,
.contact-cell strong {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.project-cell strong {
  color: #e9effb;

  font-size: 13px;
}


.project-cell small,
.contact-cell small {
  margin-top: 6px;

  color: #667da6;

  font-size: 10px;
}


.contact-cell strong {
  color: #b8c8e2;

  font-size: 11px;
}


/* STATUS */

.status-select {
  width: 100%;

  height: 34px;

  padding: 0 8px;

  border:
    1px solid
    rgba(145,173,255,.15);

  border-radius: 6px;

  outline: none;

  color: #bfcde5;

  background: #081a40;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: .8px;
}


.status-select[data-status="new"] {
  border-color:
    rgba(255,104,64,.35);

  color: #ff9a7d;
}


.status-select[data-status="contacted"] {
  border-color:
    rgba(145,173,255,.35);

  color: #91adff;
}


.status-select[data-status="completed"] {
  border-color:
    rgba(98,217,160,.35);

  color: #62d9a0;
}


/* DATE */

.date-cell {
  color: #7188b0;

  font-size: 10px;

  line-height: 1.5;
}


/* ACTIONS */

.action-cell {
  display: flex;

  gap: 6px;
}


.icon-btn {
  width: 33px;

  height: 33px;

  border:
    1px solid
    rgba(155,183,232,.16);

  border-radius: 6px;

  color: #aabbd7;

  background:
    rgba(255,255,255,.025);

  transition: .2s ease;
}


.icon-btn:hover {
  border-color: #7898dc;

  color: white;

  transform: translateY(-1px);
}


.icon-btn.delete:hover {
  border-color:
    rgba(255,104,64,.5);

  color: #ff9a7d;
}


/* EMPTY */

.empty-state {
  min-height: 190px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 8px;

  color: #6b80a6;

  text-align: center;
}


.empty-state strong {
  color: #b7c6df;

  font-family: "Space Grotesk", sans-serif;

  font-size: 14px;
}


.empty-state span {
  font-size: 11px;
}


/* =========================================================
   MODAL
========================================================= */

.modal-backdrop {
  position: fixed;

  inset: 0;

  z-index: 500;

  display: grid;

  place-items: center;

  padding: 20px;

  background:
    rgba(1,7,20,.72);

  backdrop-filter: blur(10px);
}


.details-modal {
  position: relative;

  width: min(700px, 100%);

  max-height: 90vh;

  overflow: auto;

  padding: 38px;

  border:
    1px solid
    rgba(155,183,232,.18);

  border-radius: 10px;

  background:
    linear-gradient(
      145deg,
      rgba(9,31,76,.98),
      rgba(4,16,42,.98)
    );

  box-shadow:
    0 40px 120px
    rgba(0,0,0,.5);
}


.modal-close {
  position: absolute;

  right: 18px;

  top: 18px;

  width: 34px;

  height: 34px;

  border:
    1px solid
    rgba(155,183,232,.15);

  border-radius: 50%;

  color: #a9bad7;

  background:
    rgba(255,255,255,.025);

  font-size: 20px;
}


.details-modal h2 {
  margin-top: 18px;

  font-family: "Space Grotesk", sans-serif;

  font-size: 40px;

  letter-spacing: -2px;
}


.detail-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;

  margin-top: 28px;
}


.detail-grid > div,
.description-box {
  padding: 16px;

  border:
    1px solid
    rgba(155,183,232,.12);

  border-radius: 7px;

  background:
    rgba(255,255,255,.025);
}


.detail-grid span,
.description-box > span {
  display: block;

  color: #657ba5;

  font-family: "Space Grotesk", sans-serif;

  font-size: 8px;

  letter-spacing: 1.5px;
}


.detail-grid strong {
  display: block;

  margin-top: 7px;

  color: #d9e3f4;

  font-size: 12px;

  word-break: break-word;
}


.description-box {
  margin-top: 12px;
}


.description-box p {
  margin-top: 12px;

  color: #a9bad7;

  font-size: 12px;

  line-height: 1.8;

  white-space: pre-wrap;

  word-break: break-word;
}


.modal-actions {
  display: flex;

  gap: 10px;

  margin-top: 18px;
}


.button {
  min-height: 44px;

  padding: 0 18px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 6px;

  font-size: 11px;

  font-weight: 600;

  transition: .25s ease;
}


.button-ghost {
  border:
    1px solid
    #3d5d96;

  color: #bfcde5;

  background: transparent;
}


.button-primary {
  border:
    1px solid
    rgba(255,104,64,.55);

  color: white;

  background:
    linear-gradient(
      135deg,
      #ff6840,
      #d84d2c
    );
}


.button:hover {
  transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  width:
    min(
      1180px,
      calc(100% - 48px)
    );

  margin: auto;

  padding:
    28px 0 40px;

  border-top:
    1px solid
    rgba(255,255,255,.08);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  color: #657ba5;
}


footer .brand {
  display: flex;

  align-items: center;

  gap: 11px;

  color: white;
}


.brand-mark {
  display: flex;

  gap: 2px;
}


.brand-mark i {
  display: block;

  width: 5px;

  height: 18px;

  background: #91adff;

  transform: skew(-20deg);
}


.brand > span:last-child {
  display: flex;

  flex-direction: column;

  line-height: .9;

  font-family: "Space Grotesk", sans-serif;

  font-size: 9px;
}


.brand > span:last-child > span {
  font-weight: 400;
}


.brand small {
  margin-top: 4px;

  font-size: 5px;

  letter-spacing: 1.7px;

  color: #7891bf;
}


footer p {
  font-size: 10px;

  text-align: center;

  line-height: 1.6;
}


.back-top {
  color: #8ca3cb;

  font-family: "Space Grotesk", sans-serif;

  font-size: 9px;

  letter-spacing: 1px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .pu-nav-links,
  .header-actions {
    display: none;
  }


  .pu-menu {
    display: block;
  }


  .pu-mobile-menu.active {
    display: flex;

    flex-direction: column;

    width:
      calc(100% - 30px);

    margin:
      0 auto 15px;

    padding: 12px;

    border:
      1px solid
      rgba(255,255,255,.1);

    border-radius: 8px;

    background: #081d48;
  }


  .pu-mobile-menu a,
  .pu-mobile-menu button {
    padding: 13px;

    color: #c1cde1;

    font-size: 13px;

    text-align: left;

    border: 0;

    border-bottom:
      1px solid
      rgba(255,255,255,.06);

    background: transparent;
  }


  .hero-inner {
    align-items: flex-start;

    flex-direction: column;
  }


  .stats {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .section-heading {
    align-items: flex-start;

    flex-direction: column;
  }


  .request-tools {
    width: 100%;
  }


  .search-box {
    flex: 1;

    width: auto;
  }

}


@media (max-width: 700px) {

  .pu-nav,
  .hero-inner,
  .section-shell,
  footer {
    width:
      min(
        100% - 30px,
        1180px
      );
  }


  .admin-hero {
    padding-top: 60px;
  }


  .admin-hero h1 {
    letter-spacing: -3px;
  }


  .stats {
    padding-bottom: 65px;
  }


  .request-tools {
    flex-direction: column;

    align-items: stretch;
  }


  .request-tools select {
    width: 100%;
  }


  .request-card {
    overflow-x: auto;
  }


  .table-head {
    display: none;
  }


  .request-list {
    min-width: 650px;
  }


  .request-row {
    grid-template-columns:
      1.5fr
      1.1fr
      .8fr
      .75fr
      .7fr;
  }


  footer {
    align-items: flex-start;

    flex-direction: column;
  }


  footer p {
    text-align: left;
  }

}


@media (max-width: 520px) {

  .login-card {
    padding: 30px 22px;
  }


  .login-line {
    left: 22px;
  }


  .login-brand {
    margin-bottom: 35px;
  }


  .login-card h1 {
    font-size: 50px;
  }


  .stats {
    grid-template-columns:
      1fr 1fr;

    gap: 9px;
  }


  .stat-card {
    padding: 15px;
  }


  .stat-card span {
    font-size: 7px;
  }


  .stat-card strong {
    font-size: 30px;
  }


  .live-card {
    width: 100%;
  }


  .detail-grid {
    grid-template-columns: 1fr;
  }


  .details-modal {
    padding: 28px 20px;
  }


  .details-modal h2 {
    font-size: 32px;
  }


  .modal-actions {
    flex-direction: column;
  }

}
