@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css');

.validation-sumary ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

:root {
  --color-primary: rgba(0, 0, 0, 0.18);
  --color-danger: #ff0060;
  --color-success: #1187d1;
  --color-warning: #f7d060;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-dark: #1a1b1c;
  --color-line: #39b54a;
  --color-title: #444547;
  --color-light: rgba(132, 139, 200, 0.18);
  --color-gray: rgba(237, 237, 247, 0.18);
  --color-dgray: #f0f1f1;
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;
  --card-border-radius: 0.3rem;
  --border-radius-1: 0.4rem;
  --border-radius-2: 1.2rem;
  --card-padding: 1.8rem;
  --padding-1: 1.2rem;
  --box-shadow: 0 2rem 3rem var(--color-light);
  --color-active: #3498db;
  --color-active-hover: #2980b9;
  --light: 255, 255, 255;
  --shadow: 0, 0, 0;
  --light-mod: 1;
  --shadow-mod: 1;
  --shadow-btn: -.1rem -.2rem 3rem hsla(0, 0%, 99%, 0.75), .1rem .2rem 3rem hsl(0 0% 50% / .5);
}

.dark-mode-variables {
  --color-primary: rgba(255, 255, 255, 0.18);
  --color-background: #181a1e;
  --color-white: #202528;
  --color-dark: #edeffd;
  --color-dark-variant: #a3bdcc;
  --color-light: rgba(0, 0, 0, 0.4);
  --color-gray: rgba(0, 0, 0, 0.4);
  --color-dgray: rgba(0, 0, 0, 0.4);
  --color-title: #b1b5b7;
  --box-shadow: 0 2rem 3rem var(--color-light);
  --shadow-btn: -.1rem -.2rem 1rem hsla(0, 1%, 20%, 0.75), .1rem .2rem 1rem hsla(0, 1%, 29%, 0.5);
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  appearance: none;
  border: 0;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  width: 100vw;
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  font-size: 0.88rem;
  user-select: none;
  overflow-x: hidden;
  color: var(--color-dark);
  background-color: var(--color-background);
}

a {
  color: var(--color-dark);
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

#navlogo {
  width: 180px;
  box-shadow: var(--shadow);
  margin-top: 0.5rem;
  margin-bottom: -0.7rem;
}

h1 {
  font-weight: 400;
  font-size: 1.0rem;
  color: var(--color-title);
}

.title {
  text-align: left;
  margin-top: 0px;
  color: var(--color-title);
  font-size: 2.0rem;
  margin-top: 0.2rem;
  margin-bottom: 1.3rem;
}

.marca-dagua {
  opacity: 0.5;
  pointer-events: none;
}

hr {
  display: block;
  width: 100%;
  height: 2px;
  border: 0;
  border-top: 2px solid #39b54a;
  margin: 1em 0;
  padding: 0;
}

h2 {
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--color-title);
}

h3 {
  font-weight: 500;
  font-size: 0.87rem;
}

#h2-logo {
  display: none;
}

small {
  font-size: 0.76rem;
}

p {
  color: var(--color-title);
}

b {
  color: var(--color-dark);
}

.text-muted {
  color: var(--color-info-dark);
}

.primary {
  color: var(--color-primary);
}

.danger {
  color: var(--color-danger);
}

.success {
  color: var(--color-success);
}

.warning {
  color: var(--color-warning);
}

.containerLayout {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 13rem auto 8rem;
}

aside {
  height: 100vh;
}

aside .toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

aside .toggle .logo {
  display: flex;
  gap: 0.6rem;
}

aside .toggle .logo img {
  width: 3.4rem;
  height: 3rem;
}

aside .toggle .close {
  padding-right: 1rem;
  display: none;
}

aside .sidebar {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 5px;
  height: 88vh;
  position: relative;
  top: 1.5rem;
  transition: all 0.3s ease;
}

aside .sidebar:hover {
  box-shadow: none;
}

aside .sidebar a {
  display: flex;
  align-items: center;
  color: var(--color-title);
  height: 3.7rem;
  gap: 1rem;
  position: relative;
  margin-left: 2rem;
  transition: all 0.3s ease;
}

aside .sidebar a span {
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

aside .sidebar a:last-child {
  width: 100%;
}

aside .sidebar a.active {
  width: 100%;
  color: var(--color-title);
  background-color: var(--color-light);
  margin-left: 0;
}

aside .sidebar a.active::before {
  content: "";
  width: 6px;
  height: 18px;
  background-color: var(--color-primary);
}

aside .sidebar a.active span {
  margin-left: calc(1rem - 3px);
}

aside .sidebar a:hover {
  color: var(--color-primary);
}

aside .sidebar a:hover span {
  margin-left: 0.6rem;
}

aside .sidebar .message-count {
  background-color: var(--color-danger);
  padding: 2px 6px;
  color: var(--color-white);
  font-size: 11px;
  border-radius: var(--border-radius-1);
}

.submenu {
  display: none;
  margin-left: 2rem;
}

.submenu.open {
  display: block;
}

.submenu-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-title);
  text-decoration: none;
}

.submenu-link:hover {
  color: var(--color-primary);
}

.sidebar>* {
  transition: transform 0.3s ease;
}

.sidebar.expanded {
  padding-bottom: 3rem;
}

main {
  margin-top: 1.4rem;
}

main .analyse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

main .analyse>div {
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

main .analyse>div:hover {
  box-shadow: none;
}

main .analyse>div .status {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main .analyse h3 {
  margin-left: 0.6rem;
  font-size: 1rem;
}

main .analyse .progresss {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
}

main .analyse svg {
  width: 7rem;
  height: 7rem;
}

main .analyse svg circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transform: translate(5px, 5px);
}

main .analyse .sales svg circle {
  stroke: var(--color-success);
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .analyse .visits svg circle {
  stroke: var(--color-danger);
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .analyse .searches svg circle {
  stroke: var(--color-primary);
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .searches {
  height: 300px;
  width: 100%;
  padding: 0;
}

main .analyse .progresss .percentage {
  position: absolute;
  top: -3px;
  left: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

main .new-users {
  margin-top: 1.3rem;
}

main .new-users .user-list {
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

main .new-users .user-list:hover {
  box-shadow: none;
}

main .new-users .user-list .user {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main .new-users .user-list .user img {
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.4rem;
  border-radius: 50%;
}

main .recent-orders {
  margin-top: 1.3rem;
}

main .recent-orders h2 {
  margin-bottom: 0.8rem;
}

main .recent-orders table {
  background-color: var(--color-white);
  width: 100%;
  padding: var(--card-padding);
  text-align: left;
  box-shadow: var(--box-shadow);
  border-radius: var(--card-border-radius);
  transition: all 0.3s ease;
}

.tbprime {
  padding-left: 2rem;
}

.tbultimo {
  display: inline-flex;
}

main .recent-orders table:hover {
  box-shadow: none;
}

main .recent-orders-details {
  margin-top: 1.3rem;
}

main .recent-orders-details h2 {
  margin-bottom: 0.8rem;
}

main .recent-orders-details table {
  background-color: var(--color-white);
  width: 50%;
  padding: var(--card-padding);
  text-align: left;
  box-shadow: var(--box-shadow);
  border-radius: var(--card-border-radius);
  transition: all 0.3s ease;
}

main table tbody td {
  height: 2.8rem;
  border-bottom: 1px solid var(--color-light);
  color: var(--color-dark-variant);
}

main table tbody tr:last-child td {
  border: none;
}

main .recent-orders a {
  text-align: left;
  display: block;
  margin: auto;
  color: var(--color-primary);
}

main .tbbtn {
  background-color: var(--color-dgray);
}

.right-section {
  position: fixed;
  top: 0;
  right: 0;
  width: 150px;
  height: 100px;
  z-index: 999;
  padding-left: 1rem;
}

.right-section * {
  text-align: left;
}

.right-section .nav {
  display: flex;
  justify-content: initial;
  gap: 1rem;
}

.right-section .nav button {
  display: none;
}

.right-section .dark-mode {
  background-color: var(--color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.6rem;
  width: 4.2rem;
  margin-top: 1.6rem;
  cursor: pointer;
  border-radius: var(--border-radius-1);
}

.right-section .dark-mode span {
  font-size: 1.2rem;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-section .dark-mode span.active {
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--border-radius-1);
}

.right-section .nav .profile {
  display: flex;
  gap: 2rem;
  text-align: right;
}

.right-section .nav .profile .profile-photo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  overflow: hidden;
}

.tabela-projetos td a {
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  text-decoration: none;
  color: var(--color-dark);
  transition: all 0.3s ease;
}

@media screen and (max-width: 1200px) {
  .containerLayout {
    width: 95%;
    grid-template-columns: 7rem auto 8rem;
  }

  .right-section {
    position: fixed;
    top: 0;
    right: 0;
    width: 150px;
    height: 100px;
  }

  .right-section .nav .dark-mode {
    width: 4.4rem;
    position: absolute;
    left: 66%;
  }

  .right-section .profile .info {
    display: none;
  }

  .right-section .nav button {
    display: inline-block;
    background-color: transparent;
    cursor: pointer;
    color: var(--color-dark);
    position: absolute;
    left: 1rem;
  }

  .right-section .nav button span {
    font-size: 2rem;
  }

  aside .logo h2 {
    display: none;
  }

  aside .sidebar h3 {
    display: none;
  }

  aside .sidebar a {
    width: 5.6rem;
  }

  aside .sidebar a:last-child {
    position: relative;
    margin-top: 1.8rem;
  }

  main .analyse {
    grid-template-columns: 1fr;
    gap: 0;
  }

  main .new-users .user-list .user {
    flex-basis: 40%;
  }

  main .recent-orders {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 0.8rem;
  }

  main .recent-orders table {
    width: 83vw;
  }

  main .recent-orders-details {
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 0.8rem;
  }

  main .recent-orders-details table {
    width: 83vw;
  }
}

@media screen and (max-width: 768px) {
  .tabela-projetos {
    width: 100%;
    table-layout: fixed;
  }

  main .tabela-projetos td:nth-child(2),
  main .tabela-projetos th:nth-child(2),
  main .tabela-projetos td:nth-child(3),
  main .tabela-projetos th:nth-child(3),
  main .tabela-projetos td:nth-child(4),
  main .tabela-projetos th:nth-child(4) {
    display: none;
  }

  .action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .action-links a {
    display: block;
    white-space: nowrap;
  }

  main .tabela-clientes td:nth-child(2),
  main .tabela-clientes th:nth-child(2),
  main .tabela-clientes td:nth-child(4),
  main .tabela-clientes th:nth-child(4),
  main .tabela-clientes td:nth-child(5),
  main .tabela-clientes th:nth-child(5),
  main .tabela-clientes td:nth-child(6),
  main .tabela-clientes th:nth-child(6) {
    display: none;
  }

  .containerLayout {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 0 var(--padding-1);
  }

  aside {
    position: fixed;
    background-color: var(--color-white);
    width: 18rem;
    z-index: 3;
    box-shadow: 1rem 3rem 4rem var(--color-light);
    height: 100vh;
    left: -100%;
    display: none;
    animation: showMenu 0.4s ease forwards;
  }

  @keyframes showMenu {
    to {
      left: 0;
    }
  }

  #navlogo {
    margin-top: 2.9rem;
  }

  aside .logo {
    margin-left: 2rem;
  }

  aside .logo h2 {
    display: inline;
  }

  aside .sidebar h3 {
    display: inline;
  }

  aside .sidebar a {
    width: 100%;
    height: 3.4rem;
  }

  aside .sidebar a:last-child {
    position: absolute;
    bottom: 5rem;
  }

  aside .toggle .close {
    display: inline-block;
    cursor: pointer;
  }

  main {
    margin-top: 8rem;
    padding: 0 1rem;
  }

  main .new-users .user-list .user {
    flex-basis: 35%;
  }

  main .recent-orders {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  main .recent-orders table {
    width: auto;
    table-layout: auto;
    margin: 0;
  }

  main .recent-orders-details {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  main .recent-orders-details table {
    width: 100%;
    margin: 0;
  }

  .right-section {
    width: 94%;
    margin: 0 auto 4rem;
  }

  .right-section .nav {
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    background-color: var(--color-white);
    padding: 0 var(--padding-1);
    height: 4.6rem;
    width: 100%;
    z-index: 2;
    box-shadow: 0 1rem 1rem var(--color-light);
    margin: 0;
  }

  .right-section .nav .dark-mode {
    width: 4.4rem;
    position: absolute;
    margin-top: -0.1rem;
    left: 66%;
  }

  .right-section .profile .info {
    display: none;
  }

  .right-section .nav button {
    display: inline-block;
    background-color: transparent;
    cursor: pointer;
    color: var(--color-dark);
    position: absolute;
    left: 1rem;
  }

  .right-section .nav button span {
    font-size: 2rem;
  }

  .tabela-clientes,
  .tabela-projetos {
    display: inline-block;
  }

  .tabela-usuarios tr>th:first-child,
  .tabela-usuarios tr>td:first-child,
  .tabela-usuarios tr>th:nth-child(3),
  .tabela-usuarios tr>td:nth-child(3),
  .tabela-usuarios tr>td:nth-child(4),
  .tabela-usuarios tr>td:nth-child(5),
  .tabela-usuarios tr>td:nth-child(6),
  .tabela-usuarios tr>th:last-child,
  .tabela-usuarios tr>td:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
  }

  .bodyinfo {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
}

.space100 {
  height: 100px;
}

.loginspace {
  margin-top: 100px;
  width: 500px;
}

.neumorphic-link {
  text-decoration: none;
  display: inline-block;
}

.neumorphic-link .neumorphic {
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.neumorphic {
  background: #B9BAC5;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 5px 5px 10px #a1a2ac, -5px -5px 10px #d1d2de;
  transition: all 0.3s ease;
  text-align: center;
  color: #333;
}

.neumorphic:hover {
  box-shadow: inset 5px 5px 10px #a1a2ac, inset -5px -5px 10px #d1d2de;
}

button.neumorphic {
  container-type: inline-size;
  aspect-ratio: 1/1;
  border: 0.5rem solid transparent;
  border-radius: 0.5rem;
  color: var(--color-info-dark);
  background: var(--color-white);
  display: grid;
  place-content: center;
  gap: 1rem;
  box-shadow: var(--box-shadow);
  outline: none;
  transition: all 0.1s;
}

button.neumorphic:hover,
button.neumorphic:focus-visible {
  scale: 1.1;
}

button.neumorphic:active,
button.neumorphic.active {
  box-shadow: var(--box-shadow), inset .5rem .5rem 1rem hsl(0 0% 50% / .5), inset -.5rem -.5rem 1rem hsl(0 0% 100% / .75);
  color: var(--color-primary);
}

button.neumorphic>i {
  font-size: 21cqi;
}

button.neumorphic>span {
  font-family: 'Roboto', sans-serif;
  font-size: 13cqi;
}

button.neumorphic-cotacao {
  container-type: inline-size;
  aspect-ratio: 1/1;
  border: 0.5rem solid transparent;
  border-radius: 0.5rem;
  color: var(--color-info-dark);
  background: var(--color-gray);
  display: grid;
  place-content: center;
  gap: 1rem;
  box-shadow: var(--shadow-btn);
  outline: none;
  transition: all 0.1s;
}

button.neumorphic-cotacao:hover,
button.neumorphic-cotacao:focus-visible {
  scale: 1.1;
}

button.neumorphic-cotacao:active,
button.neumorphic-cotacao.active {
  box-shadow: var(--shadow-btn), inset .5rem .5rem 1rem hsl(0 0% 50% / .5), inset -.5rem -.5rem 1rem hsl(0 0% 100% / .75);
  color: var(--color-primary);
}

button.neumorphic-cotacao>i {
  font-size: 21cqi;
}

button.neumorphic-cotacao>span {
  font-family: 'Roboto', sans-serif;
  font-size: 13cqi;
}

.text-primary {
  color: var(--color-primary);
}

h1 {
  text-align: center;
  color: var(--color-info-dark);
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
}

.buttonsIndex {
  display: grid;
  width: min(75rem, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
  gap: 4rem;
}

.chat-container {
  display: flex;
  flex-direction: row;
  height: 80vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.chat-content {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

.users-list {
  flex: 0 0 25%;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 15px;
  margin-right: 1rem;
  padding: 0.75rem;
  max-height: 100%;
  overflow-y: auto;
}

.chat-box {
  flex: 0 0 75%;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  overflow: hidden;
}

.messages {
  flex-grow: 1;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
}

.message {
  margin-bottom: 10px;
}

.button-chat {
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 15px;
  padding: 15px;
}

textarea[name="MensagemAtual"] {
  width: 100%;
  height: 60px;
  resize: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
}

.btn-custom {
  background-color: #B9BAC5;
  color: #0b0b0b;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.btn-custom:hover {
  background-color: #9A9BA6;
  color: #13e213;
}

button.qxCTlb {
  color: #FFFFFF !important;
  background-color: #B9BAC5 !important;
}

button.qxCTlb:hover {
  background-color: #9A9BA6 !important;
  color: #FFFFFF !important;
}

.justificado {
  text-align: justify;
}

input:focus,
textarea:focus {
  outline: none;
}

.form-control:focus {
  border-color: #808080;
  box-shadow: 0 0 0 0.2rem rgba(128, 128, 128, 0.25);
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .tabela-projetos {
    width: 100%;
  }

  .action-links {
    display: flex;
    gap: 10px;
  }

  .action-links a {
    display: inline-block;
  }

  .users-list {
    flex: 0 0 40%;
  }

  .chat-box {
    flex: 0 0 60%;
  }
}

@media screen and (max-width: 768px) {
  .chat-container {
    flex-direction: column;
    height: auto;
  }

  .users-list {
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .chat-box {
    flex: none;
    width: 100%;
  }
}

.badge {
  background-color: #007bff;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  font-size: 0.8em;
}