/* RuleScope Pro - Sophos WAF Authentication Template Stylesheet
   Matches the netconsult RuleScope Pro app design tokens. */

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

html, body {
  width: 100%;
  height: 100%;
  color: #141428;
  background: #f4f6fa;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* Header bar, same look as the RuleScope Pro app header */
.app-header {
  background: #141428;
  border-bottom: 1px solid #2b3258;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.app-logo-img {
  height: 34px;
  width: 34px;
  display: block;
  border-radius: 0.25rem;
}
.app-logo-name {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.app-logo-name span {
  color: #8899cc;
  font-weight: 400;
  font-size: 0.9rem;
  margin-left: 0.3rem;
}

/* Login card */
#container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  padding: 1.5rem;
}
.card {
  width: 380px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(20,20,40,0.1);
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.card-sub {
  font-size: 0.8125rem;
  color: #5c6b7a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Form */
form { margin: 0; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5c6b7a;
  margin-bottom: 0.3rem;
}
.field input[type="text"],
.field input[type="password"] {
  width: 100%;
  border: 1px solid #dce3ee;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #141428;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.field input[type="text"]:focus,
.field input[type="password"]:focus {
  border-color: #2850a0;
  box-shadow: 0 0 0 3px rgba(40,80,160,0.12);
}

.submit-row { margin-top: 1.5rem; }
input[type="submit"] {
  width: 100%;
  padding: 0.65rem 1.5rem;
  background: #2850a0;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.12s;
}
input[type="submit"]:hover { opacity: 0.9; }

.note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #dce3ee;
  font-size: 0.75rem;
  color: #5c6b7a;
  line-height: 1.5;
  text-align: center;
}
.note b { color: #141428; }
