/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/auth/cinematic-auth.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
/* ========================================================================
   Cinematic Auth Theme
   Dark mode with HSL color variables, liquid glass effect, and animations
   ======================================================================== */

:root {
  --background: 201 100% 13%;
  --foreground: 0 0% 100%;
  --muted-foreground: 240 4% 66%;
  --primary: 0 0% 100%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 10%;
  --muted: 0 0% 10%;
  --accent: 0 0% 10%;
  --border: 0 0% 18%;
  --input: 0 0% 18%;
}

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500&display=swap');

* {
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

/* ========================================================================
   Liquid Glass Effect
   ======================================================================== */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ========================================================================
   Animations
   ======================================================================== */
@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-rise {
  animation: fade-rise 0.8s ease-out forwards;
}

.animate-fade-rise-delay {
  animation: fade-rise 0.8s ease-out 0.2s forwards;
}

.animate-fade-rise-delay-2 {
  animation: fade-rise 0.8s ease-out 0.4s forwards;
}

/* ========================================================================
   Cinematic Auth Container
   ======================================================================== */
.cinematic-auth-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinematic-auth-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}

.cinematic-auth-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.cinematic-auth-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  width: 100%;
  padding: 24px;
}

/* ========================================================================
   Input & Button Styles
   ======================================================================== */
.cinematic-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
}

.cinematic-input::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}

.cinematic-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.cinematic-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.cinematic-button {
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(100, 200, 255, 0.15) 0%, rgba(147, 112, 219, 0.12) 100%);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(147, 112, 219, 0.35);
  border-radius: 9999px;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.cinematic-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.cinematic-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(100, 200, 255, 0.25) 0%, rgba(147, 112, 219, 0.22) 100%);
  border-color: rgba(147, 112, 219, 0.5);
  box-shadow: 0 0 30px rgba(147, 112, 219, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.cinematic-button:active {
  transform: translateY(0);
}

.cinematic-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: rgba(255, 255, 255, 0.08);
}

/* ========================================================================
   Typography
   ======================================================================== */
.cinematic-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 8px;
  color: hsl(var(--foreground));
}

.cinematic-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ========================================================================
   Glass Box Container
   ======================================================================== */
.cinematic-glass-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .cinematic-glass-box {
    padding: 32px 24px;
    border-radius: 12px;
  }
}

/* ========================================================================
   Form Container
   ======================================================================== */
.cinematic-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cinematic-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cinematic-form-label {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cinematic-error {
  font-size: 13px;
  color: #ff6b6b;
  padding: 8px 10px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 6px;
  border-left: 3px solid #ff6b6b;
  margin-bottom: 16px;
}

.cinematic-notice {
  font-size: 13px;
  color: #51cf66;
  padding: 8px 10px;
  background: rgba(81, 207, 102, 0.1);
  border-radius: 6px;
  border-left: 3px solid #51cf66;
  margin-bottom: 16px;
}

/* ========================================================================
   OTP Input Boxes
   ======================================================================== */
.cinematic-otp-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.cinematic-otp-input {
  width: 52px;
  height: 52px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.cinematic-otp-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.cinematic-otp-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cinematic-otp-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cinematic-otp-input::-webkit-outer-spin-button,
.cinematic-otp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cinematic-otp-input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}

/* ========================================================================
   Links
   ======================================================================== */
.cinematic-link {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.cinematic-link:hover {
  color: hsl(var(--muted-foreground));
}

.cinematic-footer-text {
  font-size: 14px;
  color: hsl(var(--foreground));
  text-align: center;
  margin-top: 28px;
  font-weight: 500;
}

