@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura/Futura_0.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura/Futura_1.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura/Futura_2.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Condensed';
  src: url('../fonts/futura/Futura_3.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Futura Condensed';
  src: url('../fonts/futura/Futura_4.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}


* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Futura', Arial, sans-serif;
  background: #f9f9f9;
  background: url('../icons/background.png') repeat;
}

input[obrigatorio=yes], select[obrigatorio=yes], textarea[obrigatorio=yes] {
    border-left: 2px solid gray !important;
}

input[obrigatorio=yes].invalido, 
select[obrigatorio=yes].invalido, 
textarea[obrigatorio=yes].invalido{ 
	border-left-color: #f54c51 !important;
	background-color: #f8eaeb;
}

.red 	  { color: #e74c3c;}
.orange   { color: #f39c12;}
.green 	  { color: #00bd6a;}
.yellow   { color: #f1c40f;}
.blue     { color: #3498db;}
.navy     { color: #2c3e50;}
.purple   { color: #9b59b6;}
.pink     { color: #e84393;}



.btn {
  display: block;
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Futura';
  cursor: pointer;
}

.btn.disabled {
  background: #d3d7df;
  cursor: not-allowed;
}


.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
}

.login-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 90%;
}

.login-card h1 {
  text-align: center;
  margin-bottom: 30px;
}

.login-error { 
	margin-top: -20px; 
	margin-bottom:8px;
	font-size: .95rem; 
	color: #b00020;
	text-align:center;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #555;
}

.content {
  width: 90%;
  margin: 0 auto;
  padding-top: 80px;
}




.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.home-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  padding: 40px 20px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.home-card i {
  font-size: 48px;
  color: #000;
  margin-bottom: 15px;
}

.home-card span {
  display: block;
  font-weight: bold;
  color: #000;
}

.home-card:hover {

  border: 2px solid #000;
}

.badge-count {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #a52a2a;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 10;
}

.logo{  
  margin: 0 auto;
  padding-top:5px;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    color: #222;
    padding: 60px 20px 20px;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 200;
}

.side-menu.open {
    right: 0;
}

.menu-toggle {
    font-size: 28px;
    cursor: pointer;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    margin-bottom: 20px;
}

.menu-items a {
    color: #222;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
}

.menu-items a:hover {
    background: #f0f0f0;
}

.menu-footer {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout {
    color: #222;
    text-decoration: none;
    font-size: 22px;
}

.logout:hover {
    color: #000;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 150;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}




.content h2 { font-size: 28px; margin-bottom: 10px; color: #333; }
.hashtag { margin-bottom: 30px; color: #666; }
.card-list { display: flex; flex-direction: column; gap: 20px; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; }
.card-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; cursor: pointer; }
.card-title { font-size: 16px; font-weight: bold; color: #333; }
.card-count { color: #333; font-weight: bold; }
.card-body { display: none; padding: 0; background: #fff; }
.card.active .card-body { display: block; }
.card-header i { font-size: 24px; color: #333; transition: transform 0.3s; }
.card.active .card-header i { transform: rotate(180deg); }
.list { display: flex; flex-direction: column; }
.list-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-top: 1px solid #eee; }
.list-item:first-child {border-top: none;}
.list-info { color: #333; }
.list-info span { font-size: 14px; color: #777; }
.list-main { display: flex; align-items: center; gap: 10px; color: #777; }
.list-main i { font-size: 20px; }



.profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.avatar {
  background: #333;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-info {
  flex: 1;
}

.profile-info .name {
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #555;
}

.profile-info .store {
  font-size: 13px;
  color: #999;
}

.badge {
  background: #52a8f2;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

.client-item {
  transition: background 0.3s;
}

.client-item:hover {
  background: #f0f0f0;
  cursor: pointer;
}


.search-box {
  position: relative;
  margin-bottom: 30px;
}

.search-box input {
  width: 100%;
  padding: 12px 75px 12px 12px; /* espaço para dois ícones */
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.search-filter {
  position: relative;
  margin-bottom: 30px;
}


#search-icon {
  position: absolute;
  top: 50%;
  right: 45px; /* deslocado para esquerda */
  transform: translateY(-50%);
  font-size: 20px;
  color: #999;
  cursor: pointer;
}

#search-icon-filter {
  position: absolute;
  top: 50%;
  right: 15px; /* canto direito */
  transform: translateY(-50%);
  font-size: 20px;
  color: #999;
  cursor: pointer;
}



.filter-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-top: -20px; /* encosta no campo */
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contacts-banner {
  background: #333;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.no-results {
  text-align: center;
  margin-top: 40px;
  color: #555;
}

.no-results i {
  font-size: 48px;
  color: #999;
  margin-bottom: 10px;
}

.no-results h3 {
  margin: 10px 0;
}

.hidden {
  display: none;
}

.dashboard-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.card-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header-inline h3 {
  font-size: 18px;
  color: #333;
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.badge.red { background: #e74c3c; }
.badge.orange { background: #f39c12; }

.card-value {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 10px 0;
}

.progress-bar {
  background: #eee;
  border-radius: 6px;
  height: 6px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #3498db;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

.contact-types {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.contact-item i {
  font-size: 30px;
  color: #888;
}

.contact-item p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #999;
}

.contact-item strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  color: #333;
}


.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 12px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group select {
  width: 100%;
  padding: 12px 40px 12px 12px; 
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;              
  color: #333;
  background-color: #fff;
  box-sizing: border-box;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 7l5 6 5-6" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}

.form-group select::-ms-expand { display: none; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #bbb;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,.05);
}

.form-group select:disabled {
  background-color: #f6f6f6;
  color: #999;
}

.form-group select:required:invalid { color: #999; }
.form-group select option[value=""] { color: #999; }


h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 20px;
  color: #666;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.radio-group label {
  font-weight: bold;
  color: #666;
}

.radio-group input[type="radio"] {
  margin-right: 8px;
}

#dado {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}



.avaliacao-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.status-balls {
  display: flex;
  gap: 15px;
}

.ball {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
}

.ball:hover {
  opacity: 1;
  transform: scale(1.1);
}

.active {
  opacity: 1 !important;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0px;
  margin-bottom: 20px;
}

.avaliacao-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avaliacao-desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.card {
  border: none; /* remover borda */
}

.item-images {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.item-images img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.avaliacao-item {
  align-items: flex-start;
}

