/* GNRE — identidade visual Motz. Substitui jQuery Mobile. */

@font-face {
  font-family: "Votorantim Sans";
  src: url("../fonts/VotorantimSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Votorantim Sans";
  src: url("../fonts/VotorantimSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Votorantim Sans";
  src: url("../fonts/VotorantimSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --motz-orange: #FF5402;
  --motz-orange-dark: #E64A00;
  --motz-dark: #171A1C;
  --motz-gray-900: #2C2F31;
  --motz-gray-700: #5E6266;
  --motz-gray-400: #9C9C9C;
  --motz-gray-200: #E4EAED;
  --motz-gray-100: #F0F4F7;
  --motz-danger: #D83B01;
  --motz-danger-bg: #FDECEA;
  --motz-success: #1E7E34;
  --motz-success-bg: #EAF7EC;

  --radius: 10px;
  --shadow: 0 1px 3px rgba(23, 26, 28, 0.08), 0 1px 2px rgba(23, 26, 28, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--motz-dark);
  background-image: linear-gradient(180deg, rgba(23,26,28,0.80) 0%, rgba(23,26,28,0.65) 40%, rgba(23,26,28,0.85) 100%), url("../Imagens/truck-bg.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: var(--motz-gray-900);
  font-family: "Votorantim Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.gnre-header {
  background: rgba(23, 26, 28, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gnre-header h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.gnre-header a.home-link {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gnre-header a.home-link:hover { opacity: 1; }

.gnre-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.gnre-content-wide {
  max-width: none;
  width: 80%;
  padding-top: 24px;
}

.gnre-logo {
  display: block;
  margin: 0 auto 28px;
  width: 120px;
}

.gnre-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--motz-gray-700);
  margin-bottom: 6px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="file"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--motz-gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--motz-gray-900);
  background: #fff;
  margin-bottom: 18px;
  transition: border-color 0.15s ease;
}
input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--motz-orange);
  box-shadow: 0 0 0 3px rgba(255, 84, 2, 0.12);
}

input[type="submit"],
button,
.btn {
  display: block;
  width: 100%;
  background: var(--motz-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease;
}
input[type="submit"]:hover,
button:hover,
.btn:hover {
  background: var(--motz-orange-dark);
}

.btn-block { margin-bottom: 10px; }
.btn-secondary {
  background: #fff;
  color: var(--motz-gray-900);
  border: 1px solid var(--motz-gray-200);
}
.btn-secondary:hover { background: var(--motz-gray-100); }

.alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.alert-danger { background: var(--motz-danger-bg); color: var(--motz-danger); }
.alert-success { background: var(--motz-success-bg); color: var(--motz-success); }
.alert strong { font-weight: 700; }

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}
table th, table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 13.5px;
  white-space: nowrap;
  border-bottom: 1px solid var(--motz-gray-100);
}
table th {
  color: var(--motz-gray-700);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--motz-gray-100);
  position: sticky;
  top: 0;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: var(--motz-gray-100); }
table a { color: var(--motz-orange); text-decoration: none; font-weight: 500; }
table a:hover { text-decoration: underline; }

.table-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: auto;
  max-height: 75vh;
}

.gnre-footer {
  text-align: center;
  padding: 24px 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.menu-list { display: flex; flex-direction: column; gap: 10px; }

input[type="checkbox"] { width: auto; margin-right: 8px; vertical-align: middle; }
