/* login.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Outfit';
    background-color: #0b0d17;
    color: #ffffff;
    overflow-x: hidden; /* Prevents horizontal scrollbar */
}

.login-container {
    /* 1. Make it take full screen width and height */
    width: 100vw;
    min-height: 100vh;
    
    overflow: auto;
    /* 2. Flexbox to center the card inside the full-screen container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* 3. Background Image Styling */
    background-image: linear-gradient(rgba(11, 13, 23, 0.6), rgba(11, 13, 23, 0.8)), url(../images/hero.png);
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    
    padding: 20px;
    box-sizing: border-box;
}

.logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Limit the width of the actual card so it doesn't stretch too wide on desktop */
.sign-in-card {
    width: 100%;
    max-width: 400px;
    background: rgba(19, 21, 26, 0.85);

    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-top: -35px;
}

.sign-in-card-label {
    font-family: Outfit;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 0.7);
}

h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-family: Outfit;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #aaa;
}

input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    box-sizing: border-box;
    outline: none;
    transition: border 0.3s;
}

input:focus {
    border-color: #bc13fe;
}

#email-login-button-id {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
}

#email-login-button-id:hover {
    transform: scale(1.02);
}


/* 1. Container Styling */
.hero-button {
  /* Dimensions (Fixed missing 'px') */
  width: 216px;
  height: 44px;
  color: white;
  /* Layout */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px; /* or inherit from your layout */
  cursor: pointer;
  margin: auto;
  
  /* Visuals */
  border-radius: 30px;
  position: relative; /* Essential for the border overlay */
  
  /* Semi-transparent Background */
  background: linear-gradient(56.96deg, rgba(15, 187, 255, 0.1) 4.88%, rgba(56, 109, 255, 0.1) 30.24%, rgba(178, 45, 255, 0.1) 53.1%, rgba(255, 37, 142, 0.1) 79.17%);
  
  /* Clear conflicting border properties */
  border: none; 
  transition: all .3s;
}



/* 2. The Gradient Border (Masking Trick) */
.hero-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px; /* Matches parent radius */
  padding: 1px;        /* Border thickness */
  
  /* The Border Gradient */
  background: linear-gradient(56.96deg, #0FBBFF 4.88%, #386DFF 30.24%, #B22DFF 53.1%, #FF258E 79.17%);
  
  /* The Mask to cut out the center */
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-button:hover {
  background: rgba(255,255,255,0.05);
}

.hero-button:active {
  box-shadow: inset 0 2px 5px #0003;
}

.forgot-password {
    display: block;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: Outfit;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;

}

.forgot-password:hover {
    color: #fff;
}

.auth-error-message {
    color: #ff4d4d;
    font-size: 12px;
    margin-bottom: 15px;
    display: none;
}

@media screen and (max-width: 479px) {
  .sign-in-card {
    width: 80%;
  }
}

.sing-in-card-title {
    font-family: Outfit;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
}

.sign-in-card-input {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Optional: Include vendor prefixes for wider browser support if needed */
input::-webkit-input-placeholder { /* Chrome, Safari, Edge */
    color: rgba(255, 255, 255, 0.2);
}

input::-moz-placeholder { /* Firefox */
    color: rgba(255, 255, 255, 0.2);
    opacity: 1; /* Firefox adds a lower opacity by default, this fixes it */
}