﻿
@charset "utf-8";
/* CSS Document */

 @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
  body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.login-container {
  min-height: 100vh;
}

.intro-section {
color: white;
  padding: 40px;
  text-align: center;
  background-image: url(../images/admin-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.intro-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.intro-section p {
  font-size: 16px;
  margin-bottom: 30px;
}

.form-section {
  background-color: white;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 250px;
  margin-bottom: 20px;
}

.form-title {
  font-size: 18px;
  color: #e60000;
  margin-bottom: 20px;
}

.input-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
  display: block;
  border-radius: 4px;
  outline: none;
  border: none;
  background-image: linear-gradient(to right, #313b45, #76808c, #76808c);
  background-size: 200%;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 1rem 0;
  cursor: pointer;
  transition: .5s;
}

.btn-block:hover {
background-position: right;
}

.btn-danger {
  background-color: #e60000;
  border: none;
}

.forgot-password {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.small {
  font-size: 10px;
  color: #888;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Mobil görünüm */
@media (max-width: 992px) {
  .intro-section {
      display: none;
  }

  .form-section {
    display: grid;
    height: 100%;
    width: 100%;
    place-items: center;
    background-image: url(../images/admin-bg.jpg);
    background-repeat: no-repeat;
    background-color: #0a0b0f;
    background-size: cover;
}

.logo {
  width: 100%;
  margin-bottom: 20px;
}
}
.mobil {
  overflow: hidden;
  max-width: 335px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);

}


.input-field input {
  height: 50px;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 17px;
  transition: all 0.3s ease;
}

.btn-block {
  height: 50px;
  width: 100%;
  z-index: 1;
  position: relative;
  border: none;
  color: #fff;
  padding-left: 0;
  border-radius: 15px;
  font-weight: 500;
  cursor: pointer;
}

.btn-block:hover {
  background-position: right;
  
  }

.fade-message {
          position: absolute;
          bottom: 1px;
          left: 50%;
          transform: translateX(-50%);
          min-width: 300px;
          max-width: 80%;
          padding: 10px;
          border-radius: 8px;
          opacity: 0;
          transition: opacity 0.5s ease-in-out;
          z-index: 1000;
      }

      .fade-message.show {
          opacity: 1;
      }

      /* containergiris alanı için pozisyon */
      .containergiris {
          position: relative;
      }

      .wrapper {
        overflow: hidden;
        max-width: 335px;
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
    }
      .form-container{
        width: 100%;
        overflow: hidden;
      }
      .form-container .form-inner{
        display: flex;
        width: 200%;
      }
      .form-container .form-inner form{
        width: 50%;
        transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
      }
      .form-inner form .field{
        height: 50px;
        width: 100%;
        margin-top: 20px;
      }
      .form-inner form .field input{
        height: 100%;
        width: 100%;
        outline: none;
        padding-left: 15px;
        border-radius: 15px;
        border: 1px solid lightgrey;
        border-bottom-width: 2px;
        font-size: 17px;
        transition: all 0.3s ease;
      }
      .form-inner form .field input:focus{
        border-color: #1a75ff;
        /* box-shadow: inset 0 0 3px #fb6aae; */
      }
      .form-inner form .field input::placeholder{
        color: #999;
        transition: all 0.3s ease;
      }
      form .field input:focus::placeholder{
        color: #1a75ff;
      }
      .form-inner form .pass-link{
        margin-top: 5px;
      }
      .form-inner form .signup-link{
        text-align: center;
        margin-top: 30px;
      }
      .form-inner form .pass-link a,
      .form-inner form .signup-link a{
        color: #1a75ff;
        text-decoration: none;
      }
      .form-inner form .pass-link a:hover,
      .form-inner form .signup-link a:hover{
        text-decoration: underline;
      }