/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050505;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #050505;
  color: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}


/* ==================================================
   APP
================================================== */

.app-shell {
  min-height: 100vh;
  background: #050505;
}


/* ==================================================
   TOP BAR
================================================== */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 68px;

  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 24px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0)
  );

  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-logo {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: #fff;
  color: #000;

  font-size: 19px;
  font-weight: 900;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.35);
}

.topbar-brand strong {
  display: block;

  font-size: 15px;
  line-height: 1.1;
  font-weight: 750;
}

.topbar-brand span {
  display: block;

  margin-top: 3px;

  color: rgba(255, 255, 255, 0.55);

  font-size: 10px;
  letter-spacing: 0.04em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-upload,
.header-logout {
  border: 1px solid rgba(255, 255, 255, 0.18);

  background: rgba(20, 20, 20, 0.58);

  color: #fff;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  cursor: pointer;
}

.header-upload {
  min-height: 38px;

  padding: 0 14px;

  border-radius: 20px;

  font-size: 13px;
  font-weight: 650;
}

.header-upload span {
  margin-right: 3px;
  font-size: 17px;
}

.header-upload:hover,
.header-logout:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header-logout {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-size: 18px;
}


/* ==================================================
   REELS FEED
================================================== */

.feed {
  width: 100%;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  scroll-snap-type: y mandatory;
}

.reel {
  position: relative;

  width: 100%;
  max-width: 520px;

  height: 100vh;
  height: 100dvh;

  min-height: 560px;

  overflow: hidden;

  background: #000;

  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.reel-video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  background: #000;

  cursor: pointer;
}

.reel-overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35),
      transparent 25%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.12) 42%,
      transparent 65%
    );
}

.reel-top-gradient {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 130px;

  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    transparent
  );
}


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

.reel-header {
  position: absolute;

  top: 82px;
  left: 20px;

  z-index: 4;
}

.reel-badge {
  display: inline-flex;
  align-items: center;

  padding: 6px 10px;

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

  border-radius: 20px;

  background: rgba(0, 0, 0, 0.3);

  color: rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: 9px;
  font-weight: 750;

  letter-spacing: 0.12em;
}


/* ==================================================
   PLAY INDICATOR
================================================== */

.play-indicator {
  position: absolute;

  top: 50%;
  left: 50%;

  z-index: 5;

  width: 68px;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

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

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.42);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: white;

  font-size: 24px;

  cursor: pointer;

  animation: playFade 0.2s ease;
}

@keyframes playFade {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}


/* ==================================================
   REEL BOTTOM
================================================== */

.reel-bottom {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 5;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  padding:
    30px
    18px
    42px;
}

.reel-info {
  width: calc(100% - 72px);

  padding-right: 12px;
}

.reel-info h2 {
  margin: 0 0 8px;

  font-size: 22px;
  line-height: 1.15;

  font-weight: 750;

  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.7);
}

.reel-info p {
  margin: 0 0 11px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 14px;
  line-height: 1.45;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.reel-meta {
  display: flex;
  align-items: center;
  gap: 6px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 12px;
}

.reel-meta span:first-child {
  font-size: 9px;
}


/* ==================================================
   REEL ACTIONS
================================================== */

.reel-actions {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 15px;

  padding-bottom: 3px;
}

.reel-action {
  width: 50px;
  height: 58px;

  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;

  border: 0;

  border-radius: 16px;

  background: rgba(0, 0, 0, 0.35);

  color: #fff;

  cursor: pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.reel-action:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.reel-action:active {
  transform: scale(0.92);
}

.reel-action span {
  font-size: 25px;
  line-height: 1;
}

.reel-action small {
  color: rgba(255, 255, 255, 0.7);

  font-size: 9px;
  line-height: 1;
}

.reel-action.liked span {
  color: #ff4d67;

  animation: likePop 0.25s ease;
}

@keyframes likePop {
  50% {
    transform: scale(1.35);
  }
}


/* ==================================================
   SWIPE HINT
================================================== */

.swipe-hint {
  position: absolute;

  bottom: 12px;
  left: 50%;

  z-index: 6;

  display: flex;
  flex-direction: column;
  align-items: center;

  transform: translateX(-50%);

  color: rgba(255, 255, 255, 0.4);

  pointer-events: none;
}

.swipe-hint span {
  font-size: 16px;

  animation: swipeBounce 1.5s infinite;
}

.swipe-hint small {
  font-size: 8px;
  letter-spacing: 0.08em;
}

@keyframes swipeBounce {
  50% {
    transform: translateY(4px);
  }
}


/* ==================================================
   LOADING
================================================== */

.loading-screen {
  width: 100%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 15px;

  color: rgba(255, 255, 255, 0.55);
}

.loading-screen p {
  margin: 0;
  font-size: 13px;
}

.loading-spinner {
  width: 32px;
  height: 32px;

  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: white;

  border-radius: 50%;

  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ==================================================
   EMPTY
================================================== */

.empty-screen {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 30px;

  text-align: center;
}

.empty-icon {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

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

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.06);

  font-size: 25px;
}

.empty-screen h2 {
  margin: 0 0 8px;

  font-size: 23px;
}

.empty-screen p {
  margin: 0 0 22px;

  color: #777;

  font-size: 14px;
}


/* ==================================================
   PRIMARY BUTTON
================================================== */

.primary-button {
  width: 100%;

  min-height: 48px;

  border: 0;

  border-radius: 13px;

  background: #fff;

  color: #000;

  font-weight: 750;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.primary-button:hover {
  opacity: 0.9;
}

.primary-button:active {
  transform: scale(0.98);
}

.primary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.primary-button.small {
  width: auto;

  padding: 0 22px;
}


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

.login-page {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 20%,
      #222 0,
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      #171717 0,
      transparent 30%
    ),
    #050505;
}

.login-background {
  position: absolute;
  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.login-orb {
  position: absolute;

  width: 280px;
  height: 280px;

  border-radius: 50%;

  filter: blur(90px);

  opacity: 0.18;
}

.orb-one {
  top: -100px;
  left: -80px;

  background: #fff;
}

.orb-two {
  right: -120px;
  bottom: -100px;

  background: #888;
}

.login-card {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 410px;

  padding: 42px 34px 28px;

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

  border-radius: 28px;

  background: rgba(15, 15, 15, 0.78);

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.6);

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.brand-mark {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 24px;

  border-radius: 18px;

  background: #fff;
  color: #000;

  font-size: 31px;
  font-weight: 900;

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.35);
}

.login-heading .eyebrow {
  color: rgba(255, 255, 255, 0.4);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.login-heading h1 {
  margin: 7px 0 8px;

  font-size: 34px;
  line-height: 1;

  letter-spacing: -0.04em;
}

.login-heading p {
  margin: 0 0 30px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 13px;
  line-height: 1.5;
}

.login-form {
  display: flex;
  flex-direction: column;

  gap: 16px;
}

.login-form label,
.upload-form label {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.login-form label > span,
.upload-form label > span {
  color: rgba(255, 255, 255, 0.55);

  font-size: 11px;
  font-weight: 650;
}

.login-form input,
.upload-form input,
.upload-form textarea {
  width: 100%;

  min-height: 49px;

  padding: 0 14px;

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

  border-radius: 13px;

  outline: none;

  background: rgba(255, 255, 255, 0.055);

  color: white;

  transition:
    border 0.2s ease,
    background 0.2s ease;
}

.login-form input:focus,
.upload-form input:focus,
.upload-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.45);

  background: rgba(255, 255, 255, 0.08);
}

.login-form input::placeholder,
.upload-form input::placeholder,
.upload-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.login-form .primary-button {
  margin-top: 5px;
}

.login-error {
  padding: 11px 13px;

  border: 1px solid rgba(255, 80, 100, 0.18);

  border-radius: 11px;

  background: rgba(255, 60, 80, 0.08);

  color: #ff9ba8;

  font-size: 12px;
}

.login-footer {
  display: flex;
  justify-content: center;
  gap: 7px;

  margin-top: 25px;

  color: rgba(255, 255, 255, 0.25);

  font-size: 9px;
}


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

.modal-overlay {
  position: fixed;
  inset: 0;

  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.76);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  animation: modalFade 0.18s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.upload-modal {
  position: relative;

  width: 100%;
  max-width: 440px;

  max-height: calc(100vh - 40px);

  overflow-y: auto;

  padding: 32px 25px 25px;

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

  border-radius: 25px;

  background: #111;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.65);

  animation: modalUp 0.22s ease;
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.07);

  color: #fff;

  font-size: 23px;
  line-height: 1;

  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 15px;

  border-radius: 14px;

  background: #fff;
  color: #000;

  font-size: 25px;
  font-weight: 800;
}

.upload-modal h2 {
  margin: 0 0 7px;

  font-size: 25px;
}

.upload-modal > p {
  margin: 0 0 23px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 12px;
}

.upload-form {
  display: flex;
  flex-direction: column;

  gap: 15px;
}

.upload-form textarea {
  min-height: 90px;

  padding: 13px;

  resize: vertical;
}

.file-picker {
  position: relative;

  min-height: 70px;

  display: flex !important;
  flex-direction: row !important;
  align-items: center;

  gap: 12px !important;

  padding: 12px 14px;

  border: 1px dashed rgba(255, 255, 255, 0.18);

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.035);

  cursor: pointer;
}

.file-picker:hover {
  background: rgba(255, 255, 255, 0.07);
}

.file-picker > span:nth-child(2) {
  overflow: hidden;

  color: rgba(255, 255, 255, 0.65);

  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-picker input {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;

  cursor: pointer;
}

.file-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: rgba(255, 255, 255, 0.09);

  font-size: 21px;
}


/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 700px) {
  .feed {
    background: #020202;
  }

  .reel {
    box-shadow:
      0 0 80px rgba(0, 0, 0, 0.6);
  }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {
  .topbar {
    height: 62px;

    padding:
      0
      14px;
  }

  .topbar-brand strong {
    font-size: 14px;
  }

  .topbar-brand span {
    display: none;
  }

  .mini-logo {
    width: 35px;
    height: 35px;

    border-radius: 11px;

    font-size: 17px;
  }

  .header-upload {
    padding: 0 12px;

    font-size: 12px;
  }

  .header-logout {
    width: 35px;
    height: 35px;
  }

  .reel {
    max-width: none;

    height: 100dvh;
    min-height: 500px;
  }

  .reel-header {
    top: 74px;
    left: 14px;
  }

  .reel-bottom {
    padding:
      25px
      13px
      38px;
  }

  .reel-info h2 {
    font-size: 20px;
  }

  .reel-info p {
    font-size: 13px;
  }

  .reel-actions {
    gap: 11px;
  }

  .reel-action {
    width: 47px;
    height: 54px;
  }

  .reel-action span {
    font-size: 23px;
  }

  .swipe-hint {
    bottom: 8px;
  }

  .login-page {
    padding: 18px;
  }

  .login-card {
    padding:
      34px
      22px
      24px;

    border-radius: 23px;
  }

  .login-heading h1 {
    font-size: 30px;
  }

  .upload-modal {
    padding:
      30px
      18px
      20px;

    border-radius: 21px;
  }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   ADMIN PANEL
   ========================================================= */

.admin-page {
  min-height: 100vh;
  padding: 32px 20px 60px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.14), transparent 30%),
    #08090d;
  color: #ffffff;
}

.admin-container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
}

.admin-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #8b5cf6;
}

.admin-subtitle {
  margin: 8px 0 0;
  color: #9ca3af;
  font-size: 14px;
}

.admin-logout {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.admin-logout:hover {
  background: rgba(255, 255, 255, 0.1);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.admin-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 13px;
}

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

.admin-users-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-section-header h2 {
  margin: 0;
  font-size: 22px;
}

.admin-section-header p {
  margin: 6px 0 0;
  color: #9ca3af;
  font-size: 13px;
}

.admin-create-button {
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.admin-create-button:hover {
  background: #8b5cf6;
}

.admin-create-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-users-list {
  display: flex;
  flex-direction: column;
}

.admin-user-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.admin-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1;
  gap: 3px;
}

.admin-user-info strong {
  font-size: 15px;
}

.admin-user-info span {
  color: #c4b5fd;
  font-size: 13px;
}

.admin-user-info small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9ca3af;
  font-size: 12px;
}

.admin-user-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-role,
.admin-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.admin-role-admin {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
}

.admin-status-active {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.admin-message {
  padding: 40px 24px;
  text-align: center;
  color: #9ca3af;
}

.admin-error {
  margin: 16px 24px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-size: 13px;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.admin-modal {
  width: min(500px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #11131a;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.admin-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-modal-header h2 {
  margin: 0;
  font-size: 24px;
}

.admin-modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.admin-user-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.admin-user-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 700;
}

.admin-user-form input,
.admin-user-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 12px 13px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 14px;
}

.admin-user-form input::placeholder {
  color: #6b7280;
}

.admin-user-form input:focus,
.admin-user-form select:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.admin-user-form select option {
  background: #11131a;
  color: #ffffff;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.admin-cancel-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.admin-cancel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .admin-page {
    padding: 20px 12px 40px;
  }

  .admin-header {
    align-items: flex-start;
  }

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

  .admin-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-create-button {
    width: 100%;
  }

  .admin-user-row {
    align-items: flex-start;
    padding: 16px;
  }

  .admin-user-meta {
    flex-direction: column;
    align-items: flex-end;
  }

  .admin-user-info small {
    max-width: 170px;
  }
}

