/* Login Page Redesign - WinishTech Theme */

/* Full-page layout with centered form and split layout */
.login {
  display: flex;
  height: 100vh;
  background: linear-gradient(to right, #274046, #ccd8db); /* Modern gradient */

  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  font-family: 'Segoe UI', sans-serif;
}

/* Left Logo Section */
.login .logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease;
}

.login .logo img {
  max-width: 300px;
  height: auto;
}

/* Right Form Section */
.login .content {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 420px;
  margin-left: auto;
  animation: fadeInUp 1s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.login .content h3 {
  color: #1e6075;
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
}

.login .content p {
  color: #666;
  text-align: center;
  font-size: 15px;
  margin-bottom: 25px;
}

.login .content input[type="text"],
.login .content input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.login .content input[type="text"]:focus,
.login .content input[type="password"]:focus {
  border-color: #1e6075;
  outline: none;
}

.login .content .form-actions {
  text-align: center;
}

.login .content .btn {
  background-color: #1e6075;
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login .content .btn:hover {
  background-color: #274046;
}

.login .content .checkbox,
.login .content .forget-password {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

.login .content .forget-password a {
  color: #1e6075;
  text-decoration: none;
}

.login .content .forget-password a:hover {
  text-decoration: underline;
}

/* Footer (hidden or repositioned) */
.login .copyright {
  display: none; /* Or position it fixed at bottom if needed */
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .login {
    flex-direction: column;
    padding: 40px 20px;
    justify-content: center;
  }

  .login .logo {
    margin-bottom: 30px;
  }

  .login .content {
    width: 100%;
    max-width: 100%;
  }
}

/* Forgot Password Styling Fix */

.login .forget-form {
  padding: 0;
  margin: 0;
}

.login .forget-form input[type="text"],
.login .forget-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.login .forget-form input:focus {
  border-color: #1e6075;
  outline: none;
}

/* Fix button layout */
.login .forget-form .form-actions {
  padding: 0;
  margin: 0;
  text-align: center;
  border: none;
}

.login .forget-form .btn {
  background-color: #1e6075;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.login .forget-form .btn:hover {
  background-color: #274046;
}

/* Icon alignment fix */
.login .forget-form .btn i {
  margin-right: 8px;
  vertical-align: middle;
}

