
::-webkit-input-placeholder {
 color: #808080;
 text-align: center;

}

:-moz-placeholder {
 color: #808080;
 text-align: center;

}


html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

main {
  flex: 1 0 auto;
}

.app-content {
  width: 100%;
  min-height: 100%;
  flex: 1 0 auto;
}

.app-body.has-navbar .app-content {
  padding-top: 64px;
}

.flash-messages {
  position: fixed;
  top: 16px;
  right: 18px;
  width: min(540px, calc(100vw - 24px));
  z-index: 20000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.app-body.has-navbar .flash-messages {
  top: 86px;
}

.flash-messages .alert-box {
  margin: 0;
  pointer-events: auto;
}

.flash-messages .card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.flash-messages .card .row {
  margin-bottom: 0;
}

.flash-messages .card-content {
  padding: 18px 24px;
}

.alert-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.icon_style.alert-close {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
}

@media only screen and (max-width: 600px) {
  .flash-messages {
    top: 10px;
    right: 8px;
    left: 8px;
    width: auto;
  }

  .app-body.has-navbar .flash-messages {
    top: 72px;
  }
}

img {
  image-rendering: auto;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.invalid {
 color: #FF0000;
}

.queryHome {
  border-radius: 2px;
  background: #f2f2f2;
  border: 1px solid #f2f2f2;
  color: #757575;
  cursor: default;
  font-size: 14px;
  font-weight: bold;
  width: 100px;
  padding: 0 16px;
  height:36px;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.queryHome:hover {
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  background: #f8f8f8;
  border: 1px solid #c6c6c6;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  color: #222;
}

footer {
  position: static;
  width: 100%;
}

#loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
}

#loading-image {
z-index: 100;
}

#formSearch{
margin-left:100px;
}
.side-nav li a {
text-decoration:none;
}
#searchResults2{
background-color:#666666;
}
#searchResults{
background-color:#666666;
}
.right li a{
padding-right:2em;
text-decoration:none
}

web_video {
  width: 100%;
  background-color: none;
}

.face {
  width: 100%;
  color: rgb(255, 0, 17);
  margin-left: 10px;
  text-align: center;
}

.image-top {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  opacity: 0.6;
  background-image: url("/static/imgs/fcoverlay.png");
  background-size: 350px;
  background-repeat: no-repeat;
  background-position-y: 30%;
  background-position-x: 10%;
  display: none;
}

#camera, #canvas {
  width: 100%;
  height: 300px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  transform: scaleX(-1);
}
#canvas {
  display: none;
}

.image-top-edit {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  opacity: 0.6;
  background-image: url(/static/imgs/fcoverlay.png);
  background-size: 450px;
  background-repeat: no-repeat;
  background-position-y: 30%;
  background-position-x: 40%;
  display: block;
}

.photo-preview {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #ddd;
  margin-top: 10px;
  object-fit: cover;
  display: block;
}
.rounded-photo {
  width: 150px;             /* Adjust as needed */
  height: 150px;            /* Keep equal for a perfect circle */
  border-radius: 50%;       /* This makes it circular */
  object-fit: cover;        /* Ensures the image fills the space nicely */
  border: 2px solid #ccc;   /* Optional: border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional: shadow */
}

.row-custom, .container {
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 16px;
  background-color: #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 0;
}

.video-wrapper {
  background-color: transparent !important;
}

.custom-footer {
  padding: 10px 30px; /* reduz altura */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  max-width: 100%; /* ocupa largura total */
  margin: 0 auto;
  margin-bottom: 0 auto;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 8px; /* space between items */
}

.footer-section span {
  display: flex;
  align-items: center; /* vertical centering */
  gap: 6px; /* space between icon and text */
}

.footer-section i.material-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.footer-sub {
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-links {
  flex-direction: row;
  gap: 15px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 8px;
}

@media only screen and (max-width: 992px) {
  .app-body.has-navbar .app-content {
    padding-top: 58px;
  }
}

#photo-preview {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 5px;
}

.card-image img {
  transition: 0.3s;
}
.card-image img:hover {
  transform: scale(1.03);
}

.material-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;   /* mantém proporção cortando */
  border-radius: 6px;
  border: 1px solid #ddd;
}


.material-thumb-detail {
  width: 40px;
  height: 40px;
  object-fit: cover;   /* mantém proporção cortando */
  border-radius: 6px;
  border: 1px solid #ddd;
}

.material-detail-image {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 4px;
  background: #fafafa;
}

.material-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ccc;
  border-radius: 6px;
  color: #999;
  font-size: 14px;
}

/* nome do usuário no navbar */
.user-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* nome truncado bonito */
.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* header do dropdown */
.user-info {
  padding: 12px 16px;
  background: #f5f5f5;
  font-size: 14px;
}

/* ícones alinhados */
.dropdown-content li > a i {
  margin-right: 10px;
}

.dropdown-content li > a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-content li > a i {
  margin: 0;
}

.table-wrapper {
  padding: 10px 20px;
  margin: 10px;
  width: calc(100% - 20px); /* subtract left+right margin */
  box-sizing: border-box;
}

table.dataTable {
  width: 100% !important;
}

/* container geral */
.face-container-x {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* wrapper do vídeo */
.video-wrapper-x {
  position: relative;
  width: 320px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* vídeo */
#web_video-x {
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
  border: 3px solid #3f51b5;
  border-radius: 8px;
  object-fit: cover;
}

/* overlay central */
#image-top-x,
#face-x {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* botões */
.actions-x {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.video-wrapper-x::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  border: 2px dashed rgba(255,255,255,0.6);
  border-radius: 50%;
}
