/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

body{
  display:flex;
  background:#eef2f7; 
  color:#1e293b;
  overflow-x: hidden;
}

/* SIDEBAR */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  min-width: 260px;
  height: 100vh;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  overflow-x: hidden;
  z-index: 1000;
  transition: width .25s ease, padding .25s ease, min-width .25s ease;

  /* Fundo escuro azul-marinho com gradiente */
  background: linear-gradient(180deg, #020c1b 0%, #0a1628 50%, #0d1f3c 100%);

  /* Borda direita sutil */
  border-right: 1px solid rgba(59,130,246,.12);

  /* Brilhos internos decorativos */
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,.04),
    4px 0 24px rgba(0,0,0,.25);
}

/* Botão hambúrguer de recolher/expandir a sidebar */
.sidebar-toggle {
  position: absolute;
  top: 28px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(59,130,246,.25);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: background .2s, color .2s, transform .2s;
}

.sidebar-toggle:hover {
  background: #2563eb;
  color: #fff;
}

.sidebar-toggle i {
  font-size: 14px;
  pointer-events: none;
}

/* Quando recolhida, o botão centraliza sozinho no espaço da sidebar */
.sidebar.collapsed .sidebar-toggle {
  position: static;
  margin: 0 auto 20px;
}

/* Estado recolhido */
.sidebar.collapsed {
  width: 84px;
  min-width: 84px;
  padding: 24px 12px;
}

.logo-img-icon {
  display: none;
}

.sidebar.collapsed .logo {
  justify-content: center;
}

.sidebar.collapsed .logo-img-full {
  display: none;
}

.sidebar.collapsed .logo-img-icon {
  display: block;
  width: 38px;
}

.sidebar.collapsed .logo h2,
.sidebar.collapsed .logo p {
  display: none;
}

.sidebar.collapsed .menu a {
  font-size: 0;
  justify-content: center;
  padding: 13px 0;
}

.sidebar.collapsed .menu a i {
  font-size: 15px;
  margin: 0;
}

.sidebar.collapsed ~ .main-content {
  margin-left: 84px;
  width: calc(100% - 84px);
}

/* Brilho azul no topo da sidebar */
.sidebar::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37,99,235,.20) 0%, transparent 65%);
  pointer-events: none;
}

/* Brilho índigo na base */
.sidebar::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 65%);
  pointer-events: none;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 36px;
  position: relative;
}

.logo-img {
  width: 175px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 4px 12px rgba(59,130,246,.30));
}

.logo-icon {
  background: #dc2626;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.logo h2 { color: white; font-size: 20px; }
.logo p  { color: #94a3b8; font-size: 13px; }

/* Linha separadora abaixo da logo */
.sidebar .logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 32px;
  position: relative;
}

.menu a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s, transform .15s;
  position: relative;
  overflow: hidden;
}

.menu a i {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  transition: color .2s;
}

.menu a:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.90);
  transform: translateX(3px);
}

.menu a:hover i { color: #60a5fa; }

/* Item ativo — destaque azul com glassmorphism */
.menu .active {
  background: linear-gradient(135deg, rgba(37,99,235,.75), rgba(59,130,246,.60));
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 4px 16px rgba(37,99,235,.35),
    inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(96,165,250,.25);
  transform: none;
}

.menu .active i { color: #fff; }

/* Brilho interno passando no item ativo */
.menu .active::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
  border-radius: 13px 0 0 13px;
  pointer-events: none;
}

/* Indicador lateral no item ativo */
.menu .active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: #60a5fa;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px rgba(96,165,250,.7);
}

.main-content{

  flex: 1;
  min-width: 0;

  margin-left:260px; 
  width: calc(100% - 260px);
  
  padding: 20px;

  box-sizing: border-box;

  transition: margin-left .25s ease, width .25s ease;

}

/* HEADER */

.topbar{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.search-box{
  background:white;
  padding:12px 20px;
  border-radius:16px;
  display:flex;
  align-items:center;
  gap:12px;

  width:600px;
  max-width:100%;

  height:60px;

  margin-left:20px;

  box-shadow:0 4px 15px rgba(0,0,0,0.05);
}

.search-box input{
  border:none;
  outline:none;
  width:100%;
  font-size:14px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:20px;
}

.notification{
  position:relative;
  background:white;
  width:50px;
  height:50px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
  cursor:pointer;
}

.badge{
  position:absolute;
  top:8px;
  right:10px;
    background:#dc2626;
  color:white;
  width:18px;
  height:18px;
  border-radius:50%;
  font-size:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.user-info{
  display:flex;
  align-items:center;
  gap:12px;
  background:white;
  padding:10px 16px;
  border-radius:14px;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
}

.user-info img{
  width:45px;
  height:45px;
  border-radius:50%;
}


/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.card{
  background:white;
  border-radius:22px;
  padding:25px;
  display:flex;
  align-items:center;
  gap:18px;
  box-shadow:
0 10px 30px rgba(15,23,42,0.06);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-4px);
}

.card-icon{
  width:60px;
  height:60px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-size:22px;
}

.blue{
  background:#2563eb;
}




.card h3{
  font-size:14px;
  color:#64748b;
}

.card h2{
  margin:5px 0;
}

.card span{
  font-size:13px;
  color:#16a34a;
}

/* AÇÕES */

/* AÇÕES RÁPIDAS */

.quick-actions{
  display:flex;
  gap:15px;
  margin-bottom:30px;
  flex-wrap:wrap;
}

/* BOTÕES PADRÃO */

.quick-actions button{
  border:1px solid #e5e7eb;
  background:white;
  color:#111827;
  padding:14px 22px;
  border-radius:14px;
  cursor:pointer;
  transition:0.25s;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
  font-size:14px;
}

/* HOVER */

.quick-actions button:hover{
  transform:translateY(-2px);
  background:#f9fafb;
  border-color:#d1d5db;
}

/* BOTÃO PRINCIPAL */

.quick-actions button.primary{
  background:#2563eb;
  color:white;
  border:none;
}

/* HOVER PRINCIPAL */

.quick-actions button.primary:hover{
  background:#1d4ed8;
}

/* ICONES */

.quick-actions button i{
  font-size:15px;
}


/* TABELA */

.table-section{
  background:white;
  border-radius:24px;
  padding:25px;
  box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.table-container{
  overflow-x:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

thead{
  background:#f1f5f9;
}

th, td{
  padding:18px;
  text-align:left;
}

tbody tr{
  border-bottom:1px solid #e2e8f0;
}

.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-novo       { background: #dbeafe; color: #1d4ed8; }
.status-contato    { background: #dcfce7; color: #15803d; }
.status-proposta   { background: #fef9c3; color: #a16207; }
.status-negociacao { background: #ffedd5; color: #c2410c; }
.status-fechado    { background: #f3f4f6; color: #374151; }
.status-perdido    { background: #fee2e2; color: #b91c1c; }

.active{
  background:#dcfce7;
  color:#15803d;
}

.pending{
  background:#fef3c7;
  color:#b45309;
}

/* FOOTER */

footer{
  margin-top:30px;
  text-align:center;
  color:#64748b;
  font-size:14px;
}

/* RESPONSIVO */

@media(max-width:950px){

  .sidebar{
    width:90px;
    padding:20px 10px;
  }

  .logo div,
  .menu a{
    font-size:0;
  }

  .menu a{
    justify-content:center;
  }

  .main-content{
    margin-left:90px;
    width:calc(100% - 90px);
  }

}

@media(max-width:768px){

  .topbar{
    flex-direction:column;
    gap:20px;
    align-items:flex-start;
  }

  .search-box{
    width:100%;
  }

  .cards{
    grid-template-columns:1fr;
  }

}



/* ======================================================
   FORMULÁRIO CADASTRO DE CLIENTES
====================================================== */

.form-container{
  background:white;
  padding:18px;
  border-radius:20px;
  max-width:1400px;
  margin:auto;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

/* TÍTULO */

.form-container h1{
  margin-bottom:20px;
  font-size:24px;
  font-weight:600;
}

/* GRID DO FORM */

.form-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}

/* INPUT GROUP */

.input-group{
  display:flex;
  flex-direction:column;
  margin-bottom:6px;
}

/* LABELS */

.input-group label{
  margin-bottom:4px;
  font-weight:500;
  font-size:12px;
  color:#374151;
}

/* INPUTS E SELECTS */
.input-group input,
.input-group select{

  height: 42px;

  border: 1px solid #dbe2ea;

  border-radius: 10px;

  padding: 0 12px;

  font-size: 13px;

  outline: none;

  background: white;

  color: #111827;

  transition: 0.2s;

}
.login-input-group input{

  height: 52px;

  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.1);

  background: rgba(255,255,255,0.05);

  padding: 0 18px;

  color: white;

  font-size: 15px;

  outline: none;

  transition: 0.2s;

}
/* EFEITO FOCUS */

.input-group input:focus,
.input-group select:focus,
textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}

/* CAMPOS GRANDES */

.full-width{
  grid-column:1 / -1;
}

/* TEXTAREA */

textarea{
  border:1px solid #dbe2ea;
  border-radius:10px;
  padding:10px;
  resize:none;
  font-size:13px;
  outline:none;
  width:100%;
  min-height:90px;
  transition:0.2s;
}

/* BOTÃO */

.save-btn{
  width:100%;
  height:42px;
  border:none;
  border-radius:12px;
  background:#2563eb;
  color:white;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
  margin-top:10px;
}

/* HOVER BOTÃO */

.save-btn:hover{
  opacity:0.9;
}

/* RESPONSIVO */

@media(max-width:1200px){

  .form-grid{
    grid-template-columns:repeat(3, 1fr);
  }

}

@media(max-width:900px){

  .form-grid{
    grid-template-columns:repeat(2, 1fr);
  }

}

@media(max-width:600px){

  .form-grid{
    grid-template-columns:1fr;
  }

}
/*LISTA CLIENTES*/
/* FILTROS */

.filter-area{
  margin-bottom:20px;
  display:flex;
  gap:15px;
}

.filter-area select{
  height:50px;
  padding:0 15px;
  border-radius:14px;
  border:1px solid #e2e8f0;
  outline:none;
}

/* BOTÕES DA TABELA */

.actions{
  display:flex;
  gap:10px;
}

.btn-edit,
.btn-delete{
  border:none;
  width:40px;
  height:40px;
  border-radius:12px;
  cursor:pointer;
  color:white;
}

.btn-edit{
  background:#2563eb;
}

.btn-delete{
  background:#dc2626;
}

/* BOTAO EXCEL */
.export-btn{
  background:#16a34a;
  color:white;
  border:none;
  height:50px;
  padding:0 20px;
  border-radius:14px;
  cursor:pointer;
  font-weight:600;
  margin-bottom:20px;
  transition:0.3s;
}

.export-btn:hover{
  opacity:0.9;
}



/* CLIENTE LISTA COMPLETA*/

.cliente-link{
  color:#000;
  text-decoration:none;
  font-weight:600;
}

.cliente-link:hover{
  color:#dc2626;
}

/* PERFIL CLIENTE */

.perfil-container{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.perfil-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.perfil-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:20px;
}

.perfil-card{
  background:white;
  padding:25px;
  border-radius:24px;
  box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.perfil-card h3{
  margin-bottom:20px;
}

.perfil-card p{
  margin-bottom:12px;
  line-height:1.6;
}

/* LINK CLIENTE PERFIL */

.cliente-link{
  color:#2563eb;
  text-decoration:none;
  font-weight:600;
  cursor:pointer;
  transition:0.2s;
}

.cliente-link:hover{
  color:#dc2626;
  text-decoration:underline;
}

 /* LINHA DO CLIENTE NA PAGINA INICIAL */

.linha-cliente{
  cursor:pointer;
  transition:0.2s;
}

.linha-cliente:hover{
  background:#f1f5f9;
}



/* BOTÃO NOVA OCORRÊNCIA */

.add-ocorrencia-btn{
  height:55px;
  padding:0 20px;
  border:none;
  border-radius:14px;
  background: #111111;
  color:white;
  font-size:15px;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  transition:0.3s;
  margin:20px 0;
}

.add-ocorrencia-btn:hover{
  opacity:0.9;
}

/* TABELA OCORRÊNCIA */
.ocorrencia-form{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:20px;
}

.ocorrencia-form input,
.ocorrencia-form textarea{
    padding:12px;
    border-radius:10px;
    border:1px solid #ccc;
    font-family:'Poppins', sans-serif;
}

.ocorrencia-form textarea{
    min-height:100px;
    resize:none;
}

.ocorrencia-form button{
   background: #111111;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:10px;
    cursor:pointer;
}

.tabela-ocorrencias{
    width:100%;
    border-collapse:collapse;
    margin-top:25px;
}

.tabela-ocorrencias th,
.tabela-ocorrencias td{
    padding:14px;
    border-bottom:1px solid #e5e5e5;
    text-align:left;
}

.tabela-ocorrencias th{
    font-weight:600;
}



/* =========================
LOGIN
========================= */

.login-body{

  margin: 0;

  font-family: 'Poppins', sans-serif;

  background: #020617;

  overflow: hidden;

}

.login-background{

  position: fixed;

  inset: 0;

  background:
    radial-gradient(circle at top left, #2563eb55, transparent 30%),
    radial-gradient(circle at bottom right, #0ea5e955, transparent 30%),
    #020617;

  z-index: 1;

}

.login-container{

  position: relative;

  z-index: 2;

  width: 100%;

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 80px;

  padding: 40px;

  box-sizing: border-box;

}

/* =========================
LADO ESQUERDO
========================= */

.login-left{

  max-width: 500px;

  color: white;

  margin-top:-70px;
}

.login-logo{

  width: 350px;

  margin-bottom: 30px;

  margin-bottom:-20px;
}

.login-left h1{

  font-size: 52px;

  line-height: 1.1;

  margin-bottom: 20px;

}

.login-left h1 span{

  color: #3b82f6;

}

.login-left p{

  font-size: 18px;

  color: #cbd5e1;

  line-height: 1.6;

}

/* =========================
BOX LOGIN
========================= */

.login-box{

  width: 420px;

  background: rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.1);

  border-radius: 24px;

  padding: 40px;

  box-sizing: border-box;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.3);

}

.login-box h2{

  color: white;

  font-size: 32px;

  margin-bottom: 10px;

}

.login-subtitle{

  color: #94a3b8;

  margin-bottom: 30px;

}

/* =========================
INPUTS LOGIN
========================= */

.login-input-group{

  display: flex;

  flex-direction: column;

  margin-bottom: 20px;

}

.login-input-group label{

  color: #cbd5e1;

  margin-bottom: 8px;

  font-size: 14px;

}

.login-input-group input{

  width: 100%;

  height: 52px;

  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.1);

  background: rgba(255,255,255,0.05);

  padding: 0 18px;

  color: white;

  font-size: 15px;

  outline: none;

  transition: 0.2s;

  box-sizing: border-box;

}

.login-input-group input:focus{

  border-color: #3b82f6;

  background: rgba(255,255,255,0.08);

}

/* =========================
BOTÃO
========================= */

.login-box button{

  width: 100%;

  height: 54px;

  border: none;

  border-radius: 14px;

  background: linear-gradient(
    135deg,
    #2563eb,
    #3b82f6
  );

  color: white;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s;

}

.login-box button:hover{

  transform: translateY(-2px);

  opacity: 0.95;

}

/* =========================
RESPONSIVO
========================= */

@media(max-width: 900px){

  .login-container{

    flex-direction: column;

    justify-content: center;

    gap: 40px;

  }

  .login-left{

    text-align: center;

  }

  .login-left h1{

    font-size: 38px;

  }

}


/* GRÁFICO  DOS RELATORIOS */


/* GRÁFICO */

.grafico-container{
  background:white;
  padding:25px;
  border-radius:24px;
  margin-top:30px;
  box-shadow:0 5px 20px rgba(0,0,0,0.06);

  height:400px;

  display:flex;
  align-items:center;
  justify-content:center;
}

#graficoVendedores{
  max-height:320px;
}


.google-agenda-top{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;

}

.google-calendar-wrapper{

    background:white;
    padding:20px;
    border-radius:20px;
    box-shadow:0 0 15px rgba(0,0,0,0.05);

}

/* FULLCALENDAR */

.fc{

    font-family:Arial, Helvetica, sans-serif;

}

.fc-toolbar-title{

    font-size:22px !important;
    font-weight:700;

}

.fc-button{

    background:#2563eb !important;
    border:none !important;
    border-radius:10px !important;
    padding:10px 14px !important;

}

.fc-button:hover{

    background:#1d4ed8 !important;

}

.fc-daygrid-day{

    transition:0.2s;

}

.fc-daygrid-day:hover{

    background:#f3f4f6;

}

.fc-event{

    border:none !important;
    padding:4px;
    border-radius:8px !important;
    font-size:13px;

}

.fc-timegrid-slot{

    height:60px !important;

}

.fc-col-header-cell{

    padding:10px 0;

}

.fc-scrollgrid{

    border-radius:16px;
    overflow:hidden;

}


/* CARD DE RETORNOS  */

.card-subtitle{

    font-size:13px;
    color:#16a34a;
    margin-top:5px;

}


/* PIPELINE  */

.card-icon{

    width:55px;
    height:55px;
    min-width:55px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:white;

}

.card-icon.blue{

    background:#2563eb;

}

.card-icon.green{

    background:#16a34a;

}

.card-icon.orange{

    background:#ea580c;

}


/* PIPELINE */

.pipeline-section{

    margin-top:30px;
    background:white;
    border-radius:24px;
    padding:22px;

}

.pipeline-main-title{

    font-size:24px;
    font-weight:700;
    margin-bottom:25px;
    color:#111827;

}

.pipeline-board{

    display:grid;

    grid-template-columns:
    repeat(5, 1fr);

    gap:16px;

    width:100%;

}
.pipeline-column{

    width:100%;

    min-width:0;

}

.pipeline-title{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px;
    border-radius:14px;
    color:white;
    font-size:15px;
    font-weight:600;
    margin-bottom:14px;

}

.pipeline-title span{

    background:rgba(255,255,255,0.2);
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;

}

.pipeline-title.blue{

    background:#60a5fa;

}

.pipeline-title.green{

    background:#4ade80;

}

.pipeline-title.yellow{
    background:#fbbf24;
    color:white;
}

.pipeline-title.orange{

    background:#fb923c;

}

.pipeline-title.gray{

    background:#4b5563;

}

.pipeline-cards{

    display:flex;
    flex-direction:column;
    gap:12px;

}

.pipeline-client{

    background:white;
    border-radius:16px;
    padding:16px;
    border:1px solid #e5e7eb;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
    transition:0.2s;
   word-break:break-word;
}

.pipeline-client:hover{

    transform:translateY(-2px);

}

.pipeline-client h4{

    font-size:16px;
    margin-bottom:6px;
    color:#111827;

}

.pipeline-client p{

    font-size:14px;
    color:#6b7280;
    margin-bottom:10px;

}

.pipeline-client strong{

    display:block;
    font-size:18px;
    color:#111827;
    margin-bottom:8px;

}

.pipeline-client small{

    color:#9ca3af;
    font-size:12px;

}




/* =========================
STATUS SELECT
========================= */

.status-select{

    background:#f1f5f9;

    border:1px solid #dbe2ea;

    padding:10px 14px;

    border-radius:12px;

    font-size:14px;

    font-weight:600;

    color:#1e293b;

    outline:none;

    min-width:180px;

    transition:0.2s;

    cursor:pointer;

}

.status-select:focus{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,0.12);

}

/* =========================
BOTÃO SALVAR STATUS
========================= */

.save-status-btn{

    background:#2563eb;

    color:white;

    border:none;

    padding:10px 16px;

    border-radius:12px;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    margin-left:10px;

    transition:0.2s;

}

.save-status-btn:hover{

    transform:translateY(-2px);

    opacity:0.92;

}

/* =========================
HEADER PERFIL
========================= */

.perfil-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

/* =========================
RESPONSIVO
========================= */

@media(max-width:768px){

    .status-select{

        width:100%;

    }

    .save-status-btn{

        width:100%;

        margin-left:0;

        margin-top:10px;

    }

}


/* FOTO PERFIL */

/* AREA USUARIO */

.user-info{

  display:flex;
  align-items:center;
  gap:15px;

}

/* FOTO */

.foto-area{

  position:relative;

  width:60px;
  height:60px;

}

.preview-foto{

  width:60px;
  height:60px;

  border-radius:50%;

  object-fit:cover;

  border:3px solid #2563eb;

}

/* BOTAO CAMERA */

.editar-foto{

  position:absolute;

  bottom:-2px;
  right:-2px;

  width:22px;
  height:22px;

  border-radius:50%;

  background:#2563eb;

  display:flex;
  align-items:center;
  justify-content:center;

  color:white;

  cursor:pointer;

  font-size:10px;

  border:2px solid white;

}

/* ESCONDER INPUT */

.editar-foto input{

  display:none;

}

/* TEXTO */

.user-text h4{

  margin:0;
  font-size:16px;

}

.user-text span{

  font-size:13px;
  color:#64748b;

}


/* MODAL EDITAR */

.modal-editar{

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.6);

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 9999;

}

.modal-content{

  width: 420px;

  background: #1a1a1a;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 22px;

  padding: 30px;

  color: white;

  box-shadow: 0 20px 60px rgba(0,0,0,0.5);

}

.modal-content h2{

  margin-bottom: 25px;

}

.modal-buttons{

  display: flex;

  gap: 12px;

  margin-top: 25px;

}

.btn-cancelar{

  flex: 1;

  height: 46px;

  border: none;

  border-radius: 12px;

  background: #2d2d2d;

  color: white;

  cursor: pointer;

}

.modal-buttons .save-btn{

  flex: 1;

}



/* tarefas do dia */

.nova-tarefa{
display:flex;
gap:10px;
margin-bottom:20px;
align-items:center;
flex-wrap:wrap;
}

.nova-tarefa input{
padding:8px 10px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}

.nova-tarefa button{
background:#2563eb;
color:white;
border:none;
padding:8px 15px;
border-radius:6px;
cursor:pointer;
font-weight:500;
transition:0.2s;
}

.nova-tarefa button:hover{
background:#1d4ed8;
}
table{
width:100%;
border-collapse:collapse;
}

thead{
background:#f3f4f6;
}

th, td{
padding:12px;
text-align:left;
border-bottom:1px solid #e5e7eb;
}

tbody tr:hover{
background:#f9fafb;
}

.btn-apagar{

background: #ff4d4d;
color: white;
border: none;
padding: 6px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 13px;

}

.btn-apagar:hover{

background: #cc0000;

}

/*editar cliente e salvar*/
.edit-client-btn{

  background: #2563eb;
  color: white;
  border: none;

  padding: 10px 16px;
  border-radius: 8px;

  cursor: pointer;
  font-weight: 500;

  margin-left: 10px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: 0.2s;

}

.edit-client-btn:hover{

  background: #1d4ed8;

}

.save-client-btn{

  background: #2563eb;
  color: white;
  border: none;

  padding: 10px 16px;
  border-radius: 8px;

  cursor: pointer;
  font-weight: 500;

  margin-left: 10px;

  transition: 0.2s;

}

.save-client-btn:hover{

  background: #1d4ed8;

}

/* botao de escolher arquivo no perfil do cliente*/
.upload-btn{

  background: #2563eb;
  color: white;

  padding: 10px 16px;

  border-radius: 8px;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 500;

  transition: 0.2s;

}

.upload-btn:hover{

  background: #1d4ed8;

}

.upload-btn input{

  display: none;

}




/* ── BOTÃO IMPORTAR ─────────────────────────────────── */
.import-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: white;
  border: none;
  height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  transition: 0.25s;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.import-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}

/* ── MODAL DE IMPORTAÇÃO ────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.ativo {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  width: 540px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: modalEntrada 0.22s ease;
}

@keyframes modalEntrada {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}

.modal-fechar {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.modal-fechar:hover {
  background: #fee2e2;
  color: #dc2626;
}

.drop-zone {
  border: 2px dashed #bfdbfe;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  background: #f8faff;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: #2563eb;
  background: #eff6ff;
}

.drop-zone i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 10px;
  display: block;
}

.drop-zone p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 4px;
}

.drop-zone span {
  font-size: 12px;
  color: #94a3b8;
}

.import-info {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f1f5f9;
  border-radius: 12px;
  font-size: 12px;
  color: #475569;
  line-height: 1.7;
}

.import-info strong {
  color: #1e293b;
  font-weight: 600;
}

.import-progress {
  display: none;
  margin-top: 20px;
}

.import-progress-bar-track {
  background: #e2e8f0;
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.import-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 99px;
  transition: width 0.3s;
  width: 0%;
}

.import-progress-texto {
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.modal-acoes {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn-cancelar {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: 0.2s;
}

.btn-cancelar:hover {
  background: #f1f5f9;
}

.btn-confirmar-import {
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: white;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-confirmar-import:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}

.btn-confirmar-import:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
