* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  min-height: 100vh;
  /* background-color: #f5f7fa; */
  font-family: Arial, sans-serif;
  padding: 10px;
  overflow: hidden;
}

/* Centering container */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

/* Main Wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .wrapper {
    flex-direction: row;
    gap: 8rem;
  }
}

/* Sidebar */
.sidebar {
  display: none;
  background-color: #f5f7fa;
  height: 100vh;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.sidebar img {
  width: 100%;
  height: auto;
}

/* Form Container */
.form-container {
  width: 100%;
  padding: 2rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .form-container {
    padding: 4rem;
  }
}

/* Logo */
.logo {
  height: 4rem;
  margin-bottom: 1.5rem;
}

/* Heading */
.heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* Subtitle */
.subtitle {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Form */
.form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.form-group input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  outline: none;
}

.form-group input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Forgot Password Link */
.forgot-password {
  text-align: right;
  display: block;
  margin-bottom: 1rem;
  color: #10b981;
  cursor: pointer;
  text-decoration: none;
}

/* Submit Button */
.submit-btn {
  display: block;
  width: 100%;
  max-width: 180px;
  padding: 0.5rem 1rem;
  background-color: #10b981;
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s;
}
.submit-btn1 {
  display: block;
  width: 100%;
  max-width: 250px;
  padding: 0.5rem 1rem;
  background-color: #10b981;
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #059669;
}

.submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wrapper {
    flex-direction: row; /* Side by side layout for tablets */
    align-items: center;
    justify-content: center;
    gap: 4rem; /* Adds spacing between sidebar and form */
  }

  .sidebar {
    display: block; /* Ensure sidebar is visible */
    flex: 1;
    max-width: 40%; /* Adjust the sidebar width */
    height: 100vh;
    background-color: #f5f7fa;
  }

  .form-container {
    flex: 1;
    max-width: 60%; /* Ensure form container takes the rest */
    padding: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sidebar {
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally (if needed) */
    flex: 1;
    max-width: 40%;
    height: 100vh;
    background-color: #f5f7fa;
  }

  .sidebar img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

@media (min-width: 540px) {
  .sidebar {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }

  .wrapper {
    flex-direction: row;
  }

  .form-container {
    width: 100%;
    padding: 2rem;
  }
}
