/* ===========================
   Login Page Styles
   =========================== */

/* Background Wrapper */
.login-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 5rem;   /* header boşluğu */
  padding-bottom: 3rem;
}


.login-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at top left, #272727 0%, #000000 40%, #1a1a1a 100%);
  background-attachment: fixed;
}

.login-wrapper .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

/* ===========================
   CTA Header
   =========================== */
.login-wrapper .cta-header {
  padding-top: .5rem;
}
.login-wrapper .cta-title {
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: .3px;
  margin-bottom: .5rem;
  color: #fff;
}
.login-wrapper .cta-subtitle {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
  color: #aaa;
}
.login-wrapper .cta-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, #D90404 40%, rgba(0,0,0,0) 100%);
  opacity: .6;
  margin: 1.5rem 0;
}

/* ===========================
   Form Container
   =========================== */
.login-form {
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  position: relative;
  max-width: 400px;
  margin: 2rem auto 0 auto;
}

/* Labels */
.login-form .form-label {
  font-weight: 600;
  color: #fff;
}

/* Inputs */
.login-form .form-control {
  background: #2b2b2b;
  border: 1px solid #444;
  color: #fff;
  height: 48px;
}
.login-form .form-control:focus {
  border-color: #D90404;
  box-shadow: 0 0 5px rgba(217,4,4,0.6);
  background: #2b2b2b;
  color: #fff;
}

/* Input group */
.login-form .input-group-text {
  background: #1c1c1c;
  border: 1px solid #444;
  color: #fff;
  height: 48px;
}

/* Autofill fix */
.login-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #2b2b2b inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}

/* Placeholder color */
.login-form .form-control::placeholder {
  color: #555;
  opacity: 1;
}

/* ===========================
   Buttons
   =========================== */
.login-form .btn-danger,
.login-form .btn-warning {
  padding: 0.7rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
  border: none;
}

.login-form .btn-danger {
  background: #D90404;
}
.login-form .btn-danger:hover {
  background: #730707;
}

.login-form .btn-warning {
  background: #730707;
  color: #fff;
}
.login-form .btn-warning:hover {
  background: #D90404;
  color: #fff;
}

/* ===========================
   Extra Links
   =========================== */
.login-form .extra-links {
  margin-top: 1rem;
}
.login-form .extra-links a {
  transition: 0.2s ease-in-out;
  color: #aaa;
}
.login-form .extra-links a:hover {
  color: #D90404;
  text-decoration: none;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .login-wrapper {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  .login-form {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  .login-wrapper .cta-title {
    font-size: 1.8rem;
  }
  .login-wrapper .cta-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .login-wrapper {
    padding-top: 3rem;
  }
  .login-form {
    padding: 1.2rem;
    border-radius: 8px;
  }
  .login-form .btn-danger,
  .login-form .btn-warning {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }
  .login-wrapper .cta-title {
    font-size: 1.5rem;
  }
}
