/* Fonte do projeto */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Paleta, espaÃ§amentos e sombras reutilizados em todo o projeto. */
:root {
  --bg: #081c28;
  --sidebar: #06121c;
  --surface: #0a2230;
  --surface-2: #102c3d;
  --line: #1d3a4d;
  --text: #f8fafc;
  --muted: #9aabc2;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --orange: #fb923c;
  --amber: #f59e0b;
  --green: #22c55e;
  --danger: #dc2626;
  --gray: #64748b;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
}
/* Ajustes bÃ¡sicos para manter o layout previsÃ­vel. */
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
/* AnimaÃ§Ãµes de entrada reutilizadas. */
.gy-fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: gyFadeUp 0.6s ease forwards;
}
@keyframes gyFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gy-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
a,
a:hover,
a:focus,
a:visited,
a:active {
  color: inherit;
  text-decoration: none !important;
}
.wrapper {
  min-height: 100vh;
  position: relative;
}
/* Menu lateral fixo usado nas pÃ¡ginas internas. */
.main-sidebar {
  position: fixed !important;
  inset: 0 auto 0 0;
  width: 250px !important;
  background: var(--sidebar) !important;
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
  z-index: 20;
}
.sidebar {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.gy-logo {
  height: 82px;
  padding: 19px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.gy-brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.gy-accent {
  color: var(--primary);
}
.gy-sidebar-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gy-sidebar-toggle span,
.gy-sidebar-toggle span:before,
.gy-sidebar-toggle span:after {
  content: "";
  display: block;
  width: 17px;
  height: 2px;
  background: #fff;
  border-radius: 3px;
  position: relative;
}
.gy-sidebar-toggle span:before {
  position: absolute;
  top: -6px;
}
.gy-sidebar-toggle span:after {
  position: absolute;
  top: 6px;
}
.sidebar-menu {
  list-style: none;
  padding: 16px 10px;
  margin: 0;
}
.sidebar-menu > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  padding: 13px 14px;
  border-radius: 12px;
  color: #b9c7da !important;
  font-weight: 600;
  transition: 0.2s;
}
.sidebar-menu > li > a:hover,
.sidebar-menu > li.active > a {
  color: #fff !important;
  background: var(--primary) !important;
  box-shadow: none;
}
.sidebar-menu i {
  width: 18px;
  text-align: center;
}
.sidebar-auth-actions,
.sidebar-logout {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
}
.sidebar-auth-actions .btn {
  margin-top: 9px;
}
/* MantÃ©m o botÃ£o de sair idÃªntico ao do Ã­ndice mesmo quando o Bootstrap carrega. */
.sidebar-logout > .btn {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 11px 17px;
  border: 0;
  border-bottom: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  color: #fff;
  background: var(--orange);
  background-image: none;
  box-shadow: none;
  text-shadow: none;
}
.sidebar-logout > .btn:hover {
  color: #fff;
  background-color: var(--orange);
  background-image: none;
  filter: brightness(1.05);
}
/* Identidade do usuÃ¡rio no rodapÃ© da sidebar. */
.gy-user-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.gy-user-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: 17px;
  color: #7c2d12;
  background: var(--primary);
}
.gy-user-avatar.with-img {
  padding: 0;
  overflow: hidden;
}
.gy-user-avatar.with-img img,
.gy-avatar.with-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.gy-avatar.with-img {
  padding: 0;
  overflow: hidden;
}
.gy-user-data {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gy-user-data strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gy-user-data span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Barra superior fixa. */
.gy-topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 38px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gy-topbar-title .gy-eyebrow {
  margin-bottom: 3px;
}
.gy-topbar-title span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.gy-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gy-avatar-link {
  display: grid;
  place-items: center;
}
.gy-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: #7c2d12;
  background: var(--primary);
  border: 2px solid rgba(251, 146, 60, 0.35);
}
/* Ãrea principal exibida ao lado do menu. */
.content-wrapper {
  margin-left: 250px !important;
  min-height: 100vh !important;
  background: transparent !important;
  transition: margin-left 0.25s ease;
}
.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px !important;
}
.gy-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.gy-eyebrow {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.gy-page-head h1,
.gy-page-head h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.gy-lead {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}
/* BotÃµes e aÃ§Ãµes principais. */
.btn,
.gy-pill {
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 11px 17px !important;
  text-decoration: none !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-warning,
.gy-pill {
  color: #3b1a05 !important;
  background: var(--orange) !important;
  box-shadow: none;
}
.btn-success {
  color: #052e16 !important;
  background: var(--green) !important;
}
.btn-primary {
  color: #3b1a05 !important;
  background: var(--primary) !important;
}
.btn-danger {
  color: #ffffff !important;
  background: var(--danger) !important;
}
.btn-default {
  color: #2b1203 !important;
  background: var(--primary-dark) !important;
  border: 1px solid rgba(251, 146, 60, 0.35) !important;
}
/* Destaque principal da pÃ¡gina inicial. */
.gy-hero {
  min-height: 350px;
  padding: 46px;
  border: 0;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--surface);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.24);
}
.gy-hero:after {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-image: url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  filter: blur(3px);
  transform: scale(1.1);
}
.gy-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 24px;
  border-radius: 16px;
  background: transparent;
}
.gy-hero h1 {
  font-size: 48px;
  line-height: 1.06;
  margin: 10px 0 14px;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.gy-hero h1 .text-accent {
  -webkit-text-fill-color: var(--primary-dark);
}
.gy-hero p .text-accent {
  color: #fdba74;
  font-weight: 700;
}
.gy-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #e6eef9;
  max-width: 570px;
}
.gy-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.gy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.gy-stat {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.gy-stat + .gy-stat {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.gy-stat i {
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
}
.gy-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  margin-top: 14px;
  color: #fff;
}
.gy-stat strong::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-top: 14px;
  border-radius: 2px;
}
.gy-stat span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
/* SeÃ§Ã£o "Como funciona" da pÃ¡gina inicial. */
.gy-how {
  margin-top: 28px;
  padding: 38px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: rgba(10, 34, 48, 0.9) !important;
  box-shadow: var(--shadow);
}
.gy-how-head .gy-eyebrow {
  margin-bottom: 10px;
}
.gy-how-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.gy-how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.gy-step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}
.gy-step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 26px;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.25);
  letter-spacing: -1px;
}
.gy-step i {
  font-size: 26px;
  color: var(--orange);
}
.gy-step h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 750;
}
.gy-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.box {
  margin: 0 0 20px !important;
}
.box-body {
  padding: 24px !important;
}
.gy-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.gy-office-card,
.gy-service-card {
  overflow: hidden;
  transition: 0.2s;
}
.gy-office-card:hover,
.gy-service-card:hover {
  transform: translateY(-4px);
  border-color: #405778 !important;
}
.gy-office-card .box-body {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gy-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74;
  font-size: 20px;
}
.gy-card-title {
  font-size: 19px;
  font-weight: 750;
  margin: 18px 0 5px;
}
.gy-card-meta {
  color: var(--muted);
  line-height: 1.65;
}
/* CartÃµes da lista de funcionÃ¡rios. */
.gy-employee-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gy-employee-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
  color: #7c2d12;
  background: var(--primary);
}
.gy-employee-top .gy-card-title {
  margin: 0;
}
.gy-employee-top .gy-card-meta {
  font-size: 13px;
  margin: 3px 0 0;
}
.gy-role-tag {
  display: inline-block;
  margin-top: 15px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #7c2d12;
  background: rgba(251, 146, 60, 0.18);
}
.gy-role-tag.muted {
  color: #cbd5e1;
  background: var(--surface-2);
}
.gy-employee-date {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.gy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  color: #cad7e7;
  font-size: 13px;
}
.nav-tabs-custom > .nav-tabs {
  display: flex;
  gap: 7px;
  padding: 12px 12px 0;
  border: 0 !important;
  background: transparent !important;
}
.nav-tabs-custom > .nav-tabs > li {
  float: none;
  margin: 0;
}
.nav-tabs-custom > .nav-tabs > li > a {
  border: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  background: var(--surface-2) !important;
  color: #aabbd0 !important;
  font-weight: 700;
}
.nav-tabs-custom > .nav-tabs > li.active > a {
  background: var(--primary) !important;
  color: #fff !important;
}
.tab-content {
  padding: 24px !important;
  overflow-x: auto;
}
/* Abas utilizadas na pÃ¡gina de funcionÃ¡rios (sem Bootstrap). */
.gy-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 12px 0;
  flex-wrap: wrap;
}
.gy-tab {
  border: 0;
  border-radius: 10px 10px 0 0;
  padding: 11px 16px;
  font-weight: 700;
  color: #aabbd0;
  background: var(--surface-2);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}
.gy-tab i {
  margin-right: 6px;
}
.gy-tab:hover {
  color: #fff;
}
.gy-tab.is-active {
  color: #fff;
  background: var(--primary) !important;
}
/* Lista de usuÃ¡rios em formato de tabela. */
.gy-table-tools {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px 0;
}@media (max-width: 575px) { .gy-table-tools { justify-content: stretch; } .gy-table-tools .form-group { max-width: none !important; } }
.gy-account-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 4px;
}.gy-meta-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}.gy-meta-value {
  font-weight: 600;
  color: var(--text);
}@media (max-width: 575px) { .gy-account-meta { grid-template-columns: 1fr; } }
.gy-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 500;
  border: 1px solid transparent;
}.gy-alert.ok {
  background: var(--success-bg, #e8f5e9);
  color: #1b5e20;
  border-color: #a5d6a7;
}.gy-alert.erro {
  background: var(--danger-bg, #fdecea);
  color: #b71c1c;
  border-color: #ef9a9a;
}.gy-alert .gy-alert-close {
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  color: inherit;
  opacity: 0.7;
  padding: 2px 6px;
}.gy-alert .gy-alert-close:hover { opacity: 1; }
.gy-client-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 6px;
}.gy-client-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  overflow: hidden;
  background: var(--primary);
}.gy-client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}.gy-client-avatar.with-img {
  background: none;
}
.gy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.gy-table thead th {
  text-align: left;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--line);
}
.gy-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(38, 58, 85, 0.5);
  vertical-align: middle;
}
.gy-table tbody tr {
  transition: background 0.15s;
}
.gy-table tbody tr:hover {
  background: rgba(16, 44, 61, 0.5);
}
.gy-table tbody tr:last-child td {
  border-bottom: 0;
}
.gy-table .gy-employee-avatar {
  width: 38px;
  height: 38px;
  font-size: 15px;
}
.gy-table-name {
  font-weight: 700;
  color: #eef2f7;
}
/* BotÃµes de aÃ§Ã£o na lista de usuÃ¡rios. */
.gy-btn-edit,
.gy-btn-del {
  border: 0;
  border-radius: 8px;
  padding: 6px 11px;
  margin-right: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.gy-btn-edit {
  color: #7c2d12;
  background: rgba(251, 146, 60, 0.18);
  text-decoration: none;
  display: inline-block;
}
.gy-btn-edit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.gy-btn-del {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.15);
}
.gy-btn-del:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}
.gy-btn-del:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gy-office-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
/* Layout compartilhado pelas telas de login e cadastro. */
.gy-auth {
  max-width: 1080px;
  margin: 3vh auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 620px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.2);
  background: var(--surface);
}
.gy-auth-form {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.gy-auth-form h1 {
  font-size: 35px;
  font-weight: 800;
  margin: 8px 0;
}
.gy-auth-aside {
  padding: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
}
.gy-auth-aside:before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-image: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1000&q=80");
  background-position: center;
  background-size: cover;
  filter: blur(3px);
  transform: scale(1.1);
}
.gy-auth-aside > div {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 16px;
  background: transparent;
}
.gy-auth-aside h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
  border-radius: 3px;
}
.gy-auth-aside h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
}
.gy-auth-aside p {
  font-size: 17px;
  line-height: 1.6;
}
/* Remove sublinhado de links dentro das telas de login/cadastro. */
.gy-auth a {
  text-decoration: none;
}
.gy-form-note a {
  text-decoration: none;
} /* MantÃ©m cor destacada sem o sublinhado. */
/* Campos e mensagens dos formulÃ¡rios. */
/* SeÃ§Ãµes de formulÃ¡rio com separadores. */
.gy-form-section {
  padding: 0 0 6px;
  margin-bottom: 22px;
  border-top: 1px solid #22344f;
}
.gy-form-section:first-child {
  border-top: none;
  padding-top: 0;
}
.gy-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--orange);
}
.gy-section-title i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--orange);
  font-size: 15px;
}
.gy-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 6px;
  background: var(--orange);
  opacity: 0.35;
}
.gy-form-section .row > [class*="col-"] {
  display: flex;
}
.gy-form-section .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #dce8f7;
  font-weight: 650;
}
.form-control {
  height: 47px !important;
  border: 1px solid #354a67 !important;
  background: #06151f !important;
  border-radius: 11px !important;
  color: #fff !important;
  box-shadow: none !important;
}
.form-control:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}
/* Campos com largura reduzida (ex.: UF). */
.form-control.gy-sm {
  width: 110px;
}
.gy-form-note {
  margin-top: 23px;
  color: var(--muted);
}
.gy-form-note a {
  color: var(--orange);
  font-weight: 700;
}
/* Avatar e foto de perfil na pÃ¡gina do usuÃ¡rio. */
.gy-profile-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  color: #7c2d12;
  font-size: 26px;
  font-weight: 800;
  background: var(--primary);
}
.gy-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.gy-profile-avatar img.show {
  display: block;
}
.gy-avatar-edit {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  color: #fff;
  background: var(--primary-dark);
  cursor: pointer;
  transition: transform 0.15s;
}
.gy-avatar-edit:hover {
  transform: scale(1.1);
}
/* Input de arquivo oculto, acionado pelo botÃ£o da cÃ¢mera. */
.gy-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.gy-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.gy-form-message {
  margin: 6px 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.gy-form-message.erro {
  border: 1px solid rgba(239, 68, 68, 0.65);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}
.gy-form-message.ok {
  border: 1px solid rgba(34, 197, 94, 0.65);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}
.alert-error {
  padding: 11px 14px;
  border: 1px solid rgba(239, 68, 68, 0.65);
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}
.gy-hidden {
  display: none !important;
}
/* CabeÃ§alho e atalhos da pÃ¡gina de uma oficina. */
.gy-detail-top {
  padding: 0 !important;
  overflow: hidden;
}
.gy-detail-cover {
  min-height: 260px;
  padding: 34px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-2);
  background-image: url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=1600&q=70");
  background-position: center;
  background-size: cover;
}
.gy-detail-cover:before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-image: url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=1600&q=70");
  background-position: center;
  background-size: cover;
  filter: blur(6px);
  transform: scale(1.08);
}
.gy-detail-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 28, 40, 0.25), rgba(6, 18, 28, 0.9));
}
.gy-detail-cover > div {
  position: relative;
  z-index: 2;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.gy-detail-cover h1 {
  font-weight: 750;
  margin: 8px 0;
  font-size: 32px;
  color: #fff;
}
.gy-detail-cover p {
  margin: 0;
  color: #d4e0ee;
}
.gy-detail-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gy-action-box {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  border-radius: 4px !important;
  overflow: hidden;
  background: var(--surface-2) !important;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: 0.2s;
  position: relative;
  z-index: 1;
}
.gy-action-box .bg-img {
  position: absolute;
  inset: -10px;
  z-index: -1;
  background-position: center;
  background-size: cover;
  filter: blur(7px);
  transform: scale(1.1);
  transition: 0.2s;
}
.gy-detail-actions .gy-action-box:nth-child(1) .bg-img {
  background-image: url("https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=900&q=50");
}
.gy-detail-actions .gy-action-box:nth-child(2) .bg-img {
  background-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=50");
}
.gy-detail-actions .gy-action-box:nth-child(3) .bg-img {
  background-image: url("https://images.unsplash.com/photo-1521618755572-156ae0cdd74d?auto=format&fit=crop&w=900&q=50");
}
.gy-action-box .inner,
.gy-action-box .small-box-footer {
  position: relative;
  z-index: 2;
}
.gy-action-box:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(6, 18, 28, 0.72);
  border-radius: inherit;
}
.gy-action-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0.9;
  z-index: 3;
}
.gy-action-box:hover {
  transform: translateY(-3px);
  border-color: #405778 !important;
  background: var(--surface-2) !important;
}
.gy-action-box .inner {
  flex: 1;
  padding: 26px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.gy-action-box h3 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  font-size: 18px !important;
  margin: 0 !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px;
}
.gy-action-box .icon {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 26px;
  border-radius: 0;
  z-index: 1;
}
.gy-action-box .icon:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 58, 77, 0.2), rgba(45, 77, 96, 0.55), rgba(29, 58, 77, 0.2));
  filter: blur(2px);
}
.gy-action-box .icon i {
  position: relative;
}
.gy-action-box .small-box-footer {
  background: transparent !important;
  text-align: left !important;
  padding: 14px 26px !important;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: color 0.2s;
}
.gy-action-box:hover .small-box-footer {
  color: #fdba74 !important;
}
.gy-action-box .small-box-footer i {
  transition: transform 0.2s;
}
.gy-action-box:hover .small-box-footer i {
  transform: translateX(3px);
}
/* CartÃµes expansÃ­veis da pÃ¡gina de serviÃ§os. */
.gy-service-card .box-header {
  position: relative;
  padding: 20px 52px 20px 20px;
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
}
.gy-service-card .box-header i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #263a55;
  color: #f0f6ff;
}
.gy-service-card .box-body {
  padding-top: 0 !important;
  color: var(--muted);
  line-height: 1.6;
}
.gy-service-card.is-expanded {
  border-color: var(--orange) !important;
}
.gy-empty {
  padding: 34px;
  text-align: center;
  color: var(--muted);
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-6,
.col-sm-8,
.col-sm-9 {
  padding: 0 10px;
}
.col-sm-2 {
  width: 16.66666%;
}
.col-sm-3 {
  width: 25%;
}
.col-sm-4 {
  width: 33.33333%;
}
.col-sm-6 {
  width: 50%;
}
.col-sm-8 {
  width: 66.66666%;
}
.col-sm-9 {
  width: 75%;
}
/* Página de acompanhamento de serviços. */
.gy-service-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.gy-service-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
.gy-service-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.gy-service-selector label {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.gy-service-selector .form-control {
  width: auto;
  min-width: 240px;
  padding: 7px 12px;
  font-size: 14px;
}
.gy-service-empty {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  margin: 18px 0;
}
.gy-service-empty i {
  font-size: 42px;
  color: var(--orange);
  margin-bottom: 12px;
}
.gy-service-empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.gy-service-empty p {
  color: var(--muted);
  margin: 0 0 20px;
}
.gy-service-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.gy-service-meta i {
  margin-right: 3px;
  color: var(--orange);
}
.gy-service-status {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3b1a05;
  background: var(--primary);
  align-self: center;
}
.gy-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 18px 0;
}
.gy-info-card {
  padding: 22px;
}
.gy-info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.gy-info-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gy-info-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}
.gy-info-val {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.gy-info-val i {
  width: 16px;
  color: var(--orange);
}
.gy-problems-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.gy-problems-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
}
.gy-problems-head h3 i {
  color: var(--orange);
  margin-right: 6px;
}
.gy-problem-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.gy-problem {
  padding: 18px 0;
}
.gy-problem + .gy-problem {
  border-top: 1px solid var(--line);
}
.gy-problem-form {
  margin: 18px 0 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.gy-problem-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}
.gy-problem-form-actions .btn {
  padding: 8px 16px;
}
.gy-problem-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.gy-problem-top strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.gy-problem-badge {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
}
.gy-problem-status {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #7c2d12;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.18);
}
.gy-problem-status.is-done {
  color: #052e16;
  background: rgba(34, 197, 94, 0.2);
}
.gy-problem-actions {
  margin: 10px 0 0 38px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gy-problem-actions .btn {
  padding: 6px 14px;
  font-size: 13px;
}
.gy-problem-actions .gy-btn-del {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gy-problem-actions .gy-btn-del:hover {
  background: rgba(239, 68, 68, 0.25);
}
.gy-problem-actions .gy-btn-edit {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--orange);
  background: rgba(245, 158, 11, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gy-problem-actions .gy-btn-edit:hover {
  background: rgba(245, 158, 11, 0.25);
}
.gy-problem > p {
  margin: 8px 0 0 38px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
/* Sidebar recolhida no desktop: mostra apenas os Ã­cones. */
@media (min-width: 768px) {
  .sidebar-collapse .main-sidebar {
    width: 72px !important;
  }
  .sidebar-collapse .content-wrapper {
    margin-left: 72px !important;
  }
  .sidebar-collapse .gy-brand {
    display: none;
  }
  .sidebar-collapse .sidebar-menu > li > a {
    justify-content: center;
    padding: 13px 0;
  }
  .sidebar-collapse .sidebar-menu span,
  .sidebar-collapse .sidebar-logout span,
  .sidebar-collapse .sidebar-logout i {
    display: none;
  }
  .sidebar-collapse .sidebar-logout > .btn {
    width: 40px;
    padding: 10px 0;
    display: grid;
    place-items: center;
  }
  .sidebar-collapse .gy-logo {
    justify-content: center;
    padding: 19px 0;
  }
}
/* Ajustes para celulares e telas menores. */
@media (max-width: 767px) {
  [data-mobile-menu-btn] {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .sidebar-open [data-sidebar-toggle] {
    opacity: 0;
    pointer-events: none;
  }
  .main-sidebar {
    width: 230px !important;
    transform: translateX(-100%);
    transition: 0.25s;
  }
.sidebar-open .main-sidebar {
    transform: translateX(0);
  }
  .sidebar-open:after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    z-index: 15;
  }
  .content-wrapper {
    margin-left: 0 !important;
  }
  .content {
    padding: 21px !important;
  }
  .gy-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .gy-page-head h1 {
    font-size: 27px;
  }
  .gy-hero {
    min-height: 380px;
    padding: 30px;
  }
  .gy-hero h1 {
    font-size: 37px;
  }
  .gy-stats,
  .gy-detail-actions,
  .gy-how-steps {
    grid-template-columns: 1fr;
  }
  .gy-stat + .gy-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 20px;
  }
  .gy-auth {
    grid-template-columns: 1fr;
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
  }
  .gy-auth-form {
    padding: 35px 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .gy-auth-aside {
    min-height: 260px;
    padding: 30px;
  }
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-6,
  .col-sm-8,
  .col-sm-9 {
    width: 100%;
  }
  [style*="display: flex"],
  .gy-profile-top {
    flex-wrap: wrap;
  }
  .box-body {
    padding: 22px !important;
  }
  .gy-card-grid {
    grid-template-columns: 1fr !important;
  }
  .btn,
  .gy-pill {
    white-space: normal !important;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar {
    width: 230px !important;
  }
  .sidebar-collapse .main-sidebar {
    transform: translateX(-100%);
  }
  .sidebar-collapse.sidebar-open .main-sidebar {
    transform: translateX(0);
  }
  .gy-info-grid {
    grid-template-columns: 1fr;
  }
  .gy-service-status {
    align-self: flex-start;
  }
}
/* Colunas ficam em metade da largura em tablets para nÃ£o esmagar o formulÃ¡rio. */
@media (min-width: 768px) and (max-width: 991px) {
  .col-sm-2,
  .col-sm-4 {
    width: 50%;
  }
  .col-sm-8 {
    width: 100%;
  }
  .gy-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Foto do veículo (detalhes da OS e preview na nova OS). */
.gy-veiculo-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  margin: 4px 0 10px;
}
.gy-veiculo-img[hidden] {
  display: none;
}
.gy-veiculo-img-preview {
  max-width: 220px;
  margin-top: 8px;
}

/* Home: ações rápidas e serviços recentes. */
.gy-home-dash {
  margin-top: 26px;
}
.gy-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.gy-recent-box {
  padding: 22px;
}
.gy-recent-os {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gy-recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.gy-recent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gy-recent-info strong {
  color: var(--text);
  font-size: 14px;
}
.gy-recent-info span {
  color: var(--muted);
  font-size: 13px;
}
.gy-recent-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 0;
}
.gy-recent-empty a {
  color: var(--primary);
  font-weight: 600;
}
/* Cores de status de OS. */
.gy-status-em_andamento {
  background: var(--primary);
  color: #3b1a05;
}
.gy-status-aguardando {
  background: var(--amber);
  color: #422006;
}
.gy-status-concluido {
  background: var(--green);
  color: #052e16;
}
.gy-status-cancelado {
  background: var(--gray);
  color: #ffffff;
}
/* Lista de OS (página de serviços) — estilo Linear: hairlines sutis. */
.gy-svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.gy-svc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.gy-svc-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.gy-svc-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 12px;
  text-decoration: none;
  min-width: 0;
  color: inherit;
}
.gy-svc-link:hover {
  background: transparent;
}
.gy-svc-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
.gy-svc-item .gy-recent-info strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.gy-svc-item .gy-recent-info span {
  color: var(--muted);
  font-size: 13px;
}
.gy-svc-id {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  background: var(--surface-2);
}
.gy-svc-chevron {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.gy-svc-item:hover .gy-svc-chevron,
.gy-svc-link:focus-visible .gy-svc-chevron {
  opacity: 1;
}
@media (hover: none) {
  .gy-svc-chevron {
    opacity: 1;
  }
}
/* Painel "Seu veículo" (seleção FIPE). */
.gy-veiculo-painel {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.gy-veiculo-foto {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  max-width: 40%;
  border-radius: 12px;
  overflow: hidden;
  background: #0d2231;
}
.gy-veiculo-foto .gy-veiculo-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gy-veiculo-foto .gy-veiculo-img.gy-fade-in {
  opacity: 1;
}
.gy-veiculo-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 22px;
}
.gy-veiculo-info {
  flex: 1;
  min-width: 0;
}
.gy-veiculo-info h4 {
  margin: 4px 0 10px;
  color: var(--text);
  font-size: 17px;
}
.gy-veiculo-info .gy-info-val {
  margin: 4px 0;
}
@media (max-width: 600px) {
  .gy-veiculo-painel {
    flex-direction: column;
    align-items: stretch;
  }
  .gy-veiculo-foto {
    width: 100%;
    max-width: 100%;
  }
}
.gy-svc-item .gy-btn-del {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-right: 8px;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.gy-svc-item:hover .gy-btn-del,
.gy-svc-item .gy-btn-del:focus-visible,
.gy-svc-item .gy-btn-del:disabled {
  opacity: 1;
}
.gy-svc-item .gy-btn-del:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
}
@media (hover: none) {
  .gy-svc-item .gy-btn-del {
    opacity: 1;
  }
}

/* Utilidades de acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.55);
  outline-offset: 2px;
}
.gy-tab:focus-visible,
.btn:focus-visible {
  outline-offset: 1px;
}
/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}