/* public/stylesheet/main.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1000px;
  height: 570px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-panel {
  background-color: white;
  padding: 50px;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.login-panel h1,
.login-panel p {
  text-align: center;
}

.login-panel h1 {
  color: #2a373f;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 60px;
}

.subtitle {
  color: #536570;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 380px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  color: #2a373f;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.required {
  color: #3fa72f;
}

input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d5d7da;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
  border-radius: 8px;
  font-size: 14px;
  color: #2a373f;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: #3fa72f;
}

input::placeholder {
  color: #aeb8c1;
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a959e;
  cursor: pointer;
}

.login-button {
  border-radius: 8px;
  background: linear-gradient(330deg, #034300 1.4%, #089a00 97.35%);
  color: white;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-top: 12px;
  border: none;
  transition: background-color 0.2s;
}

.login-button:hover {
  background-color: #358926;
}

.info-panel {
  border-radius: 24px;
  background: linear-gradient(330deg, #034300 1.4%, #089a00 97.35%);
  color: white;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.info-panel-content {
  display: flex;
  padding: 36px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.info-panel-content h2 {
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.96px;
}

.info-panel-content p {
  color: #8ed28a;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
}

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

  .login-panel,
  .info-panel {
    width: 100%;
    padding: 30px;
  }

  .login-panel h1 {
    margin-top: 20px;
  }

  .info-panel {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* User panel styles */
.user-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 20px 0;
}

.user-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
  gap: 15px;
}

.docs-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 2px;
  width: 100%;
  background: linear-gradient(330deg, #034300 1.4%, #089a00 97.35%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.2s;
}

.docs-button:hover {
  background: linear-gradient(100deg, #043301 1.4%, #076302 97.35%);
  scale: 1.02;
  transition: all 0.2s ease-in-out;
}

.logout-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  width: 100%;
  background-color: #f8f8f8;
  color: #2b3545;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

.logout-button:hover {
  background-color: #e9e9e9;
}

.error-message {
  color: #e53935;
  font-size: 14px;
  text-align: left;
  font-weight: 500;
}
