/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: Sora, sans-serif !important;
  overflow-x: hidden;
}

:root {
    --color-offwhite-1: #FCFCFC;
    --color-black-1: #292524;
    --color-grey-1: #79716B;
    --color-grey-dark: #44403B;
    --color-blue-1: #0B2880;
    --color-blue-2: #175CD3;
    --color-green: #00c950;
    --color-red: #fb2c36;

    --bg-gradiente: linear-gradient(90deg, #1447E6, #0B2880);

    --stroke-offwhite-1: 1px solid #F1F0EF;

    --input-border: #F1F0EF;
    --input-text: #292524;
    --input-label: #A6A09B;
    --input-focus: #1c1917;
    --input-error: #e7000b;
    --input-bg: #fff;
}

/* ===== FLEX ===== */
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center;}
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }
.gap-1 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }


/* ===== GRID ===== */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* ===== WIDTH & HEIGHT ===== */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-30 { height: 30px; }
.h-45 { height: 45px; }
.h-70 { min-height: 70px; }
.w-1-2 { width: 50%; }
.h-1-2 { height: 50%; }
.w-1-3 { width: 33.333%; }
.w-2-3 { width: 66.666%; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 1024px; }

/* ===== SPACING (até 64px) ===== */
.m-0 { margin: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 16px; }
.p-4 { padding: 24px; }
.p-8 { padding: 32px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 16px; padding-right: 16px; }
.px-4 { padding-left: 24px; padding-right: 24px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 16px; padding-bottom: 16px; }
.py-4 { padding-top: 24px; padding-bottom: 24px; }
.py-5 { padding-top: 32px; padding-bottom: 32px; }
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.py-14 { padding-top: 14px; padding-bottom: 14px; }


/* ===== TYPOGRAPHY ===== */
.text-xss { font-size: 10px; }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 20px; }
.text-xl { font-size: 24px; }
.text-h1 { font-size: 28px; }
.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.lh-100 { line-height: 100%; }
.lh-120 { line-height: 120%; }
.lh-150 { line-height: 150%; }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ===== COLORS ===== */
.text-white { color: #fff; }
.text-black { color: var(--color-black-1); }
.text-gray { color: var(--color-grey-1); }
.text-gray-dark { color: var(--color-grey-dark); }
.text-primary { color: var(--color-blue-1); }
.text-primary-2 { color: var(--color-blue-2); }
.text-green { color: var(--color-green); }
.text-red { color: var(--color-red); }




.bg-white { background-color: #fff; }
.bg-offwhite { background-color: #FAFAFA; }
.bg-black { background-color: #000; }
.bg-gray { background-color: #79716B; }
.bg-gray-2 { background-color: #F7F7F7; }
.bg-green { background-color: #00c950; }
.bg-offgreen { background-color: #effff5; }
.bg-blue { background-color: #0B2880; }
.bg-red { background-color: #fb2c36; }
.bg-offred { background-color: #ffeff8; }
.bg-gradient { background: linear-gradient(170deg, #1447E6, #0B2880); }
.bg-gradient-2 { background: linear-gradient(90deg, #071A55, #002FC2); }


/* ===== BORDERS & RADIUS ===== */
.rounded { border-radius: 4px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 16px; }
.rounded-full { border-radius: 160px; }
.border { border: 1px solid var(--input-border); }
.border-green { border: 1px solid rgb(0, 201, 80, 0.2); }
.border-bottom { border-bottom: 1px solid var(--input-border); }
.border-top { border-top: 1px solid var(--input-border); }


.border-none { border: none; }

/* ===== BUTTONS ===== */
.btn { cursor: pointer; }

.btn-menu { 
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    background: #FCFCFC;
    color: #44403B;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.btn-menu:hover {
    background: hsl(0, 0%, 97%);
}

a {
  outline: none;
  text-decoration: none;
  border: none;
}

.hover-scale {
  transition: transform 0.2s ease-in-out;
}
.hover-scale:hover {
  transform: scale(1.03);
}

button { font-family: inherit; outline: none; border: none;}

/* ===== BADGES ===== */

.badge-sm { padding: 4px 10px; border: 1px solid var(--input-border); border-radius: 12px; font-weight: 400;}

.badge-purple { background-color: #F9F5FF; border: 1px solid #E9D7FE; color: #6941C6; }
.badge-blue { background-color: #EFF8FF; border: 1px solid #B2DDFF; color: #175CD3; }
.badge-checker { background-color: #ffeff8; border: 1px solid #ffb2ce; color: #d31768; }
.badge-green { background-color: #effff5; border: 1px solid #b2ffd3; color: #0a692b; }
.badge-red { background-color: #ffefef; border: 1px solid #ffb2b2; color: #fb2c36; }
.badge-orange { background-color: #fffdef; border: 1px solid #ffe5b2; color: #fb782c; }






/* ===== OTHERS ===== */
.cursor-pointer { cursor: pointer; }
.position-fixed-top-left { position: fixed; top: 0; left: 0; } 
.position-relative { position: relative; }
.position-absolute-top-right { position: absolute; top: 48px; right: 0; } 
.shadow { box-shadow: 0px 2px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0px 4px 12px rgba(0,0,0,0.15); }
.display-none { display: none !important; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 1111; display: none; }
.modal-md { max-width: 550px; width: 90%; background: white; border-radius: 12px; animation: fadeInUp 1s ease; }
.modal-lg { max-width: 750px; width: 90%; background: white; border-radius: 12px; animation: fadeInUp 1s ease; }
.modal-show { display: flex; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FORMS/INPUT PARA MODAL ===== */
.modal-form-style { display: flex; flex-wrap: wrap; }
.modal-input-group { flex: 1 0 200px; }
.modal-body { max-height: 400px; overflow-y: auto; }
.flex-basis-45 { flex-basis: 45% !important; }
.flex-basis-100 { flex-basis: 100px !important; }
.modal-input-style {
  width: 100%;
  height: 40px;
  padding: 10px 8px;

  border: 1px solid var(--input-border);
  border-radius: 8px;
  outline: none;

  font-family: Sora, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  color: var(--input-text);

  background: var(--input-bg);
  transition: 0.2s ease;    
}
.modal-input-group select {
  width: 100%;
  height: 40px;
  padding: 10px 8px;

  border: 1px solid var(--input-border);
  border-radius: 8px;
  outline: none;    
}

/* ===== IMAGEM COMPLEMENTAR ===== */
.image-side {
  flex: 1; /* ocupa todo o espaço disponível ao lado da sidebar */
  
  /* imagem + gradiente */
  background: linear-gradient(
      100deg,
      #0c0a09, 
      #0c0a09,
      #1b2400
    ),
    url("img-fundo-telas-form.png"); /* caminho da imagem */

  background-size: cover;      /* cobre toda a div */
  background-position: center; /* centraliza a imagem */
  background-repeat: no-repeat;/* evita repetição */
}

/* === Ícone === */
.input-icon {
  position: absolute;
  top: 18px;
  left: 24px;
  transition: 0.3s ease-in-out;
}
.input-icon path, circle {
  stroke: var(--input-label);
  transition: inherit;
}

/* === Label === */
.input-group label {
  position: absolute;
  top: 14px;
  left: 46px;
  padding: 2px 6px;
  background-color: var(--input-bg);

  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  color: var(--input-label);

  transition: 0.3s ease;
}

/* === Input base === */
.input-style {
  width: 100%;
  height: 45px;
  padding: 10px 16px;
  padding-left: 46px;
  position: relative;

  border: 1px solid var(--input-border);
  border-radius: 8px;
  outline: none;

  font-family: Sora, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  color: var(--input-text);

  background: var(--input-bg);
  transition: 0.2s ease;
}

.input-group {
    position: relative;
}

/* === Estados: focus & valid === */
.input-style:focus ~ label,
.input-style:valid ~ label {
  transform: translate(-36px, -20px);
  font-size: 10px;
  color: var(--input-focus);
}

.input-style:focus,
.input-style:valid {
  border-color: var(--input-focus);
}
.input-style:focus ~ .input-icon path,
.input-style:valid ~ .input-icon path {
  stroke: var(--input-focus);
}

/* === Estado: erro === */
.input-style:user-invalid ~ label {
  transform: translate(-36px, -20px);
  font-size: 10px;
  color: var(--input-error);
}
.input-style:user-invalid {
  border-color: var(--input-error);
}
.input-style:user-invalid ~ .input-icon path {
  stroke: var(--input-error);
}

/* === Hover & Disabled === */
.input-style:hover {
  border-color: var(--input-focus);
}
.input-style:disabled {
  background: #f9f9f9;
  cursor: not-allowed;
  opacity: 0.7;
}

/* === Autofill Chrome === */
.input-style:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--input-text) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Estilos Personalizados */

/* Estilo da Sidebar */
.sidebar, .sidebar-dashboard {
    max-width: 440px;
    width: 100%;

    padding: 24px 72px;

    border-right: var(--stroke-offwhite-1);

    background-color: var(--color-offwhite-1);
}

.sidebar-dashboard {
    max-width: 260px;
    padding: 16px;
    background-color: white;
}

.sidebar-image-profile {
    width: 36px;
    height: 36px;
    background-position: center;
    background-size: cover;
    border-radius: 50px;
}

.line-divider {
  width: 100%;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.line-divider hr {
  width: 100%;
  border: none;
  border-top: 1px solid var(--input-border);
}


.main-content {
  width: 100%;
  margin-left: 250px; /* espaço reservado da sidebar */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza horizontal */
  background: var(--color-offwhite-1);
}

@media (max-width: 650px) {

    .sidebar {
        padding: 24px 32px;
    }

    .main-content {
      margin-left: 0px;
    }

}
.content-wrapper {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;

  /* border: 1px solid var(--input-border); */
}

.my-account {
  width: 200px;
  min-height: 120px;
}

.code {
    font-size: 8px;
    font-weight: 400;
    color: #EC003F;
    border: 1px solid #EC003F;
    background: #FFDBE5;
    padding: 2px 6px;
    border-radius: 6px;
}