/* === NetsysAI Modern Cement/Gray Login Theme === */

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f3f4f6; /* Cement gray */
  color: #1f2937;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Top Banner === */
.top-header {
  background-color: #e5e7eb; /* Light gray banner */
  border-bottom: 1px solid #d1d5db;
  /* Use flexbox so we can align brand to the left while keeping any future controls on the right */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 20px; /* horizontal padding so left-aligned content doesn't touch the edge */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  /* ensure brand sits flush to left padding and doesn't shrink on small screens */
  margin-left: 4px;
}

.brand .net {
  color: #1F2937; /* Blue accent */
}

.brand .sys {
  color: #1F2937; /* Dark gray */
}

.brand .ai {
  color: #1F2937; /* Medium gray */
}

/* === Login Wrapper === */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* === Login Container === */
.login-container {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 40px 45px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* === Form Fields === */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  display: block;
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1f2937;
  background-color: #fafafa;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

/* === Button === */
.btn {
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background-color: #3b82f6;
  color: white;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
}

.btn.primary:hover {
  background-color: #2563eb;
}

/* === Footer Text === */
.signup-text {
  margin-top: 16px;
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

.signup-text a {
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
}

.signup-text a:hover {
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 25px;
    width: 90%;
  }

  .brand {
    font-size: 22px;
  }
}

