/* PB Propack Login Page Styles */

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

body {
  font-family: "Noto Sans Thai", "Poppins", sans-serif;
  background-color: #f5f5f0; /* Light beige/off-white background */
  height: 100vh;
  overflow: hidden;
}

.login-container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Left Side - Image */
.login-image-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f0f0f0;
}

.login-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

/* Right Side - Login Form */
.login-form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f0; /* Light beige/off-white */
  padding: 40px;
}

.login-form-wrapper {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Logo */
.login-logo {
  margin-bottom: 20px;
}

.login-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.login-logo svg {
  width: 80px;
  height: 80px;
}

/* Company Name */
.company-name {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  font-family: "Noto Sans Thai", "Poppins", sans-serif;
}

/* Form Styles */
.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  color: #999;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 400;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #00bcd4;
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* Login Button */
.login-button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background-color: #00bcd4; /* Cyan/light blue */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  font-family: inherit;
  margin-top: 10px;
}

.login-button:hover {
  background-color: #00acc1;
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(0);
}

.login-button:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
  transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-image-section {
    display: none;
  }

  .login-form-section {
    padding: 20px;
  }

  .login-form-wrapper {
    max-width: 100%;
  }
}

/* PB Logo SVG (if needed) */
.pb-logo {
  width: 80px;
  height: 80px;
}

.pb-logo path {
  fill: #4caf50; /* Green color for PB logo */
}

/* Logo Image Styling */
.login-logo img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Ensure logo is centered and properly sized */
.login-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

