/* Recreated gg.css for login view
   Matches the previous styles: centered card, soft page background,
   light input backgrounds, rounded corners, subtle shadow, and purple-blue button.
*/
:root {
  --card-bg: #ffffff;
  --muted: #6b7280;
  --primary: #4fc7e8;
  --primary-hover: #5abdd8;
  --border: #e6e9ef;
  --card-width: 560px;
}

.input-modern {
  display: block;
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  border: 1px solid #E6E9EE;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.input-modern:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(93, 120, 255, 0.08);
  border-color: #4fc7e8;
}

.input-wrapper {
  position: relative;
}

.input-check {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #4fc7e8;
  opacity: 0;
  transition: opacity .15s ease;
}

.input-modern:not(:placeholder-shown)+.input-check {
  opacity: 1;
}

.select-modern {
  height: 3rem;
  padding: 0 .75rem;
  border-radius: 0.5rem;
  border: 1px solid #E6E9EE;
  color: #111827;
}

.card {
  width: 100%;
  max-width: var(--card-width);
  margin: 3rem auto;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(20, 36, 60, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-header {
  padding: 30px 28px;
  text-align: center;
}

.card-header--title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.card-header--subtitle {
  color: var(--muted);
  margin-top: 8px;
  font-size: 13px;
}

.card-body {
  padding: 28px;
}

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

label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
}

input[type="email"],input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  ;
  border: 1px solid rgba(15, 23, 42, 0.04);
  color: #111827;
  box-shadow: none;
  outline: none;
}

input[type="email"]:focus,input[type="text"]:focus,
input[type="password"]:focus {
  box-shadow: 0 0 0 3px rgba(93, 120, 255, 0.12);
  border-color: var(--primary);
}

.form-link-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-action {
  text-align: center;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-brand {
  background: var(--primary);
  color: #fff;
}

.btn-brand:hover {
  background: var(--primary-hover);
}

.card-footer {
  padding: 26px 28px;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  text-align: center;
}

.card-footer--title {
  font-weight: 700;
  color: #111827;
}

.card-footer--text {
  color: var(--muted);
  margin-top: 10px;
  font-size: 13px;
}

.card-footer--link a {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}

.text-danger {
  color: #dc2626;
}

.animate-fade-in {
  animation: fade-in 0.25s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:640px) {
  :root {
    --card-width: 92%;
  }

  .card {
    margin: 2rem auto;
  }
}