/* ==========================================================================
   Mnovel - Sign In Page Stylesheet (Standard CSS Replacement)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* 1. Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.signin-body {
  font-family: 'Inter', sans-serif;
  background-color: #ebe9ee  ;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
	background: #ebe9ee  url("images/loginbg.jpg") center no-repeat;
}

/* 2. Background Decoration */
.bg-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.3;
	
}

.login-wrap{ width: 1000px; position: relative}

/* 3. Layout Container */
.main-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 10;
}

/* 4. Left Branding Area */
.branding-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 34px;
	top:0;
}


/* 5. Right Login Card Area */
.login-card-area {
  width: 100%;
	margin-top: 120px;
  max-width: 450px;
}


.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 230px;
  height: 68px;
  background: url("images/logo.png") center/90% no-repeat;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.05em;
}

.logo-dot {
  color: #3b82f6;
}

.welcome-wrap {
  display: flex;
  flex-direction: column;
}

.welcome-heading {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  line-height: 1.0;
  letter-spacing: -0.05em;
}

.welcome-subrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.welcome-subheading {
  font-size: 48px;
  font-weight:700;
  line-height: 1.0;
  letter-spacing: -0.05em;
  padding-bottom: 4px;
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #ff7ab8 0%, #a25aff 100%);
}

.welcome-underline {
  height: 4px;
  width: 48px;
  background: linear-gradient(to right, #f472b6, #a855f7);
  border-radius: 9999px;
  margin-top: 16px;
}

.desktop-spacer {
  display: none;
}



.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05), 0 10px 20px -5px rgba(0, 0, 0, 0.02);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-header {
  margin-bottom: 32px;
}

.card-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.card-header p {
  color: #95959b;
  font-size: 16px;
}

/* 6. Authentication Buttons Components */
.auth-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.btn-auth {
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: #374151;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-full {
  width: 100%;
  justify-content: space-between;
  padding: 16px 24px;
}

.btn-half {
  flex: 1;
  justify-content: center;
  gap: 12px;
  padding: 16px 16px;
}

.btn-content-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-auth {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.text-gray-700 {
  color: #374151;
}

.icon-arrow {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.auth-buttons-row {
  display: flex;
  gap: 16px;
}

/* Interaction States */
.btn-hover-effect:hover {
  transform: translateY(-2px);
  background-color: #f9fafb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

.btn-auth:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6366f1;
}

/* Sparkle Animation Component */
.sparkle-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #a25aff, #ff7ab8);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L15 9L22 12L15 15L12 22L9 15L2 12L9 9L12 2Z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L15 9L22 12L15 15L12 22L9 15L2 12L9 9L12 2Z"/></svg>') no-repeat center / contain;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* 7. Policy Footer */
.policy-footer {
  margin-top: 60px;
  display: flex;
  align-items: start;
  gap: 12px;
}

.policy-icon-wrap {
  margin-top: 2px;
}

.icon-shield {
  width: 26px;
  height: 34px;
  color: #9ca3af;
}

.policy-text {
  font-size: 16px;
  color: #95959b;
  line-height: 1.4;
}

.policy-link {
  color: #6366f1;
  text-decoration: none;
}

.policy-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   8. Media Queries (Large Screens Optimization)
   ========================================================================== */
@media (min-width: 1024px) {
  body.signin-body {
    padding: 48px;
  }
  
  .bg-decoration {
    opacity: 1;
    justify-content: flex-start;
    padding-left: 128px;
  }

  .main-container {
    flex-direction: row;
    gap: 96px;
  }

  .branding-area {
    text-align: left;
    align-items: flex-start;
   
  }

  .logo-wrap {
    margin-bottom: 10px;
  }

  .welcome-heading {
    font-size: 74px;
  }

  .welcome-subrow {
    justify-content: flex-start;
  }

  .welcome-subheading {
    font-size: 74px;
  }

  .welcome-underline {
    margin-left: 0;
  }

  .desktop-spacer {
    display: block;
    height: 0;
  }

  .login-card-area {
    width: 450px;
  }

  .glass-card {
    padding: 40px;
  }
}