/* ======================= FONTES ======================= */
@font-face {
  font-family: "Montserrat-Medium";
  src: url("../../lib/fonts/Montserrat/Montserrat-Medium.ttf");
}

@font-face {
  font-family: "Montserrat-SemiBold";
  src: url("../../lib/fonts/Montserrat/Montserrat-SemiBold.ttf");
}

@font-face {
  font-family: "Montserrat-Bold";
  src: url("../../lib/fonts/Montserrat/Montserrat-Bold.ttf");
}

@font-face {
  font-family: "Montserrat-ExtraBold";
  src: url("../../lib/fonts/Montserrat/Montserrat-ExtraBold.ttf");
}

@font-face {
  font-family: "Montserrat-Regular";
  src: url("../../lib/fonts/Montserrat/Montserrat-Regular.ttf");
}


/* ======================= BASE ======================= */
html, body {
  user-select: text;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Montserrat-Medium, Helvetica, sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  color: #3d3d3d;
  background: #f7f7f7 !important;
  background-size: cover;
}

.body-image {
  background-image: url(../../images/sistema/background-image.png) !important;
}

@media (min-width: 1920px) {
  .body-image {
    background-size: 100% 100% !important;
  }
}

.layout-footer-fixo {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout-footer-fixo > main,
.layout-footer-fixo > section {
  flex: 1;
}

/* ======================= SCROLLBAR ======================= */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #28a745;
}

::-webkit-scrollbar-track {
  background: #fafafa;
}


/* ======================= TIPOGRAFIA ======================= */
h1, h2, h3 {
  font-family: "Montserrat-Bold" !important;
}

h4, h5, h6 {
  font-family: "Montserrat-SemiBold" !important;
}

p {
  font-family: "Montserrat-Medium" !important;
}

label {
  font-size: 12px;
  display: flex;
  align-items: center;
  font-family: Montserrat-Bold, Helvetica, sans-serif;
}

strong {
  font-family: "Montserrat-ExtraBold" !important;
}

/* Classes utilitárias de fonte */
.Montserrat-ExtraBold { font-family: "Montserrat-ExtraBold" !important; }
.Montserrat-Bold     { font-family: "Montserrat-Bold" !important; }
.Montserrat-SemiBold { font-family: "Montserrat-SemiBold" !important; }
.Montserrat-Medium   { font-family: "Montserrat-Medium" !important; }
.Montserrat-Regular  { font-family: "Montserrat-Regular" !important; }

/* Tamanhos de fonte */
.font-size-10 { font-size: 10px !important; }
.font-size-11 { font-size: 11px !important; }
.font-size-12 { font-size: 12px !important; }
.font-size-13 { font-size: 13px !important; }
.font-size-14 { font-size: 14px !important; }
.font-size-16 { font-size: 16px !important; }
.font-size-17 { font-size: 17px !important; }
.font-size-20 { font-size: 20px !important; }
.font-size-25 { font-size: 25px !important; }
.font-size-35 { font-size: 35px !important; }
.font-size-50 { font-size: 50px; }
.font-size-60 { font-size: 60px; }


/* ======================= FORMULÁRIOS ======================= */
input,
textarea {
  font-size: 14px !important;
  -webkit-touch-callout: default;
  user-select: text;
}

input[type="text"],
input[type="number"],
input[type="time"],
input[type="date"],
input[type="tel"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(102, 175, 233, .5);
  outline: none !important;
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px !important;
  font-size: 14px !important;
}


/* ======================= BOTÕES ======================= */
button {
  border-radius: 10px !important;
}

.btn {
  font-family: "Montserrat-SemiBold";
  font-size: 12px;
  outline: none !important;
}

.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn-verde {
  background-color: #28a745;
  color: #fafafa !important;
  border: none;
}

.btn-verde:hover {
  background-color: #218838;
}

.btn-vermelho {
  background-color: #dc3545;
  color: #fafafa !important;
  border: none;
}

.btn-vermelho:hover {
  background-color: #c42939;
}

.btn-azul {
  background-color: #3090db;
  color: #fafafa !important;
  border: none;
}

.btn-azul:hover {
  background-color: #267ec2;
}

.btn-cinza {
  background-color: #e6e7ef;
  color: #3d3d3d !important;
  border: none;
}

.btn-cinza:hover {
  background-color: #cecfd4;
}

.btn-branco {
  background-color: #fff;
  color: #3d3d3d !important;
  transition: 0.5s;
  border: 1px solid #e6e7ef;
}

.btn-branco:hover {
  color: #28a745 !important;
  border-color: #28a745;
}

.btn-excluir {
  background-color: #e6e7ef;
  color: #3d3d3d !important;
  border: none;
}

.btn-excluir:hover {
  background-color: #c42939;
  color: #fafafa !important;
}

.btn-swal {
  padding: 8px 10px;
}


/* ======================= UTILITÁRIOS ======================= */
.border-cinza          { border: 1px solid #e3e3e3 !important; }
.border-cinza-hover    { border: 1px solid #e3e3e3 !important; transition: 0.3s; }
.border-verde          { border: 1px solid #28a745 !important; }
.border-radius-default { border-radius: 15px !important; }
.border-radius-100     { border-radius: 100% !important; }
.box-shadow-default    { box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1); }
.cursor-pointer        { cursor: pointer; }
.text-limit            { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-verde            { color: #28a745; }
.text-preto            { color: #3d3d3d; }
.text-vermelho         { color: #dc3545; }

/* ======================= HOVERS ======================= */
.border-cinza-hover:hover    { border: 1px solid #28a745 !important; }

/* ======================= CORES ======================= */
.bg-verde    { background-color: #28a745 !important; color: #fafafa !important; }
.bg-vermelho { background-color: #dc3545 !important; color: #fafafa !important; }
.bg-amarelo  { background-color: #f3c92e !important; color: #3d3d3d !important; }
.bg-azul     { background-color: #3090db !important; color: #fafafa !important; }
.bg-branco   { background-color: #ffffff !important; color: #3d3d3d !important; }
.bg-cinza    { background-color: #e6e7ef !important; color: #3d3d3d !important; }


/* ======================= COMPONENTES ======================= */
.card {
  border-radius: 10px !important;
}

.badge {
  border-radius: 5px;
  padding: 5px 10px;
}

.swal-actions-spacing {
  display: flex !important;
  justify-content: center;
  gap: 10px;
}

.swal-actions-spacing .btn {
  min-width: 120px;
}


/* ======================= STATUS DOT ======================= */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}

.dot-verde {
  background-color: #28a745;
  box-shadow: 0 0 8px #28a745;
}

.dot-vermelho {
  background-color: #dc3545;
  box-shadow: 0 0 8px #dc3545;
}

.dot-amarelo {
  background-color: #ffc107;
  box-shadow: 0 0 8px #ffc107;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
