* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body, html {
  height: 100%;
  background: linear-gradient(135deg, #fae0f6, #ffffff);
  transition: background 0.3s ease;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url('pexels-gradienta-7135121.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px;
  position: relative;
}

.mim-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  animation: fadeIn 1.2s ease-out;
}

.mim-footer {
  position: absolute;
  bottom: 30px;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 20px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  max-width: 90%;
}

.mim-footer h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.mim-footer p {
  font-size: 14px;
  line-height: 1.4;
  color: #ddd;
}

.right-panel {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #ffffff; */
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.login-box {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  animation: slideUp 0.8s ease-out;
}

.signup-box {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  animation: slideUp 0.8s ease-out;
}

.login-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.logo {
  width: 80px;
  margin-bottom: 15px;
}

.tagline {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
}

form {
  text-align: left;
}

form input {
  width: 100%;
  padding: 12px 14px;
  margin: 12px 0 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

form input:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
  outline: none;
  background: #fff;
}

form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, #646567, #0d0e0f);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s ease;
}

form .forgot {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #515356;
  text-align: right;
  text-decoration: none;
}

form .forgot:hover {
  color: #00449e;
}

footer {
  margin-top: 40px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    flex: 1;
    width: 100%;
  }

  .mim-footer {
    position: relative;
    bottom: auto;
    margin-top: 20px;
  }

  .login-box {
    padding: 30px 20px;
  }
}
