/* Modern Vanilla CSS for Login Screen - Red Theme (Solid, Flat) */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  box-sizing: border-box;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.login-header i {
  color: #ef4444; /* Red accent */
}

.login-header p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
}

.login-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.login-body {
  padding: 2.5rem 2.5rem 2rem 2.5rem;
}

.custom-alert {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.mb-4 {
  margin-bottom: 2rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #f8fafc;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  overflow: hidden;
}

.input-wrapper:focus-within {
  border-color: #ef4444;
  background: #ffffff;
}

.input-icon {
  padding: 0.875rem 1rem;
  color: #94a3b8;
  background: transparent;
  border-right: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.input-wrapper:focus-within .input-icon {
  color: #ef4444;
  border-right-color: #ef4444;
}

.form-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #94a3b8;
}

.btn-solid {
  width: 100%;
  background-color: #ef4444; /* Solid flat red */
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.btn-solid:hover {
  background-color: #dc2626; /* Darker flat red */
}

.btn-solid:active {
  transform: scale(0.98);
}

.login-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}
