/*
  Neubrutalism Theme for DevHive Login Page
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 0;
  box-shadow: 12px 12px 0px #000000;
  display: flex;
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-height: 600px;
}

.container:hover {
  box-shadow: 8px 8px 0px #000000;
  transform: translate(4px, 4px);
}

.login-section {
  padding: 40px;
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

.welcome-title {
  font-family: 'Coda Caption', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #000000;
  letter-spacing: -0.5px;
}

.welcome-subtitle {
  font-size: 16px;
  margin-bottom: 30px;
  color: #333333;
  line-height: 1.6;
  max-width: 90%;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
  display: block;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2.5px solid #000000;
  border-radius: 0;
  font-size: 16px;
  background: #ffffff;
  color: #000000;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
  outline: none;
  box-shadow: 6px 6px 0px #000000;
  transform: translate(-3px, -3px);
  background-color: #e0f7fa;
}

.form-input::placeholder {
  color: #666666;
}

.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 30px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
}

.checkbox-wrapper input {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  border: 2.5px solid black;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-wrapper input:checked {
  background-color: #00FFFF;
  transform: scale(1.1);
}

.checkbox-wrapper input:checked::after {
  content: '✔';
  position: absolute;
  top: -2px;
  left: 3px;
  font-size: 15px;
  color: black;
}

.checkbox-wrapper label {
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
}

.forgot-link {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.forgot-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #000000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.forgot-link:hover::after {
  transform: scaleX(1);
}

.login-btn {
  width: 100%;
  padding: 16px;
  background-color: #00FFFF;
  color: #000000;
  border: 2.5px solid #000000;
  border-radius: 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 6px 6px 0px #000000;
  position: relative;
  overflow: hidden;
}

.login-btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0px #000000;
  background-color: #00E0E0;
}

.login-btn:active {
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0px #000000;
  background-color: #00FFFF;
}

.divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
  font-size: 15px;
  color: #000000;
  font-weight: 500;
}

.divider p {
  background: #ffffff;
  padding: 0 15px;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2.5px;
  background: #000000;
  z-index: 0;
}

.social-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.social-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2.5px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 5px 5px 0px #000000;
  gap: 10px;
}

.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.social-btn:hover .social-icon {
  transform: scale(1.1);
}

.social-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px #000000;
  background-color: #f8f9fa;
}

.social-btn:active {
  transform: translate(5px, 5px);
  box-shadow: 0px 0px 0px #000000;
}

.social-btn::before {
  display: none;
}

.google-btn::before {
  background-image: url("../../../devhivespacehome/public_html/assets/google.png");
}

.heybleepi-btn::before {
  background-image: url("../assets/heybleepi_logo.png");
}

.hershive-btn::before {
  background-image: url("../assets/hershive_logo.png");
}

.signup-section {
  text-align: center;
  font-size: 15px;
  margin-top: 10px;
}

.signup-link {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.signup-link strong {
  position: relative;
}

.signup-link strong::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #00FFFF;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.signup-link:hover strong::after {
  transform: scaleX(1);
}

.image-section {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a8d5ff 0%, #7cb9e8 100%);
  border-left: 3px solid #000000;
  position: relative;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.image-section:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    max-width: 450px;
    box-shadow: 8px 8px 0px #000000;
  }

  .container:hover {
    box-shadow: 6px 6px 0px #000000;
    transform: translate(2px, 2px);
  }

  .login-section {
    padding: 40px 30px;
  }

  .welcome-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .welcome-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .form-input {
    padding: 12px 14px;
  }

  .login-btn {
    padding: 14px;
  }

  .social-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .image-section {
    display: none;
  }
}

@media (max-width: 380px) {
  .container {
    max-width: 100%;
  }

  .login-section {
    padding: 30px 20px;
  }

  .welcome-title {
    font-size: 28px;
  }
}