/* Documento CSS - Vidromax */
html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth; /* Faz a rolagem deslizar suavemente em vez de pular */
}
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-size: 100%; color: #3E3E3E; height: 100%; background: url("../img/bg_full.jpg") no-repeat fixed 50% 0 / cover  rgba(255, 255, 255, 0.75) !important;
}

/* Aplica o desconto da altura do menu nos IDs das seções */
#inicio, #servicos, #contato {
    scroll-margin-top: 75px; 
}


/* Formatações Básicas */
p { line-height: 30px;}
p {font-size: 1rem;}
a {text-decoration: none; color: #000;}
a:hover {text-decoration: underline;}
/*h1 {font-weight: bold; font-size: 1.5rem;}*/
input, textarea, select {border: 1px solid #b9b9b9; border-radius: 3px; padding: 7px 5px;}
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
table.highlight > tbody > tr:hover {
  background-color: rgba(242, 242, 242, 1) !important;
}
.text_left {text-align: left !important;}

.icone_tt {width: .8rem;}
.icone_t {width: 1rem;}
.icone_s {width: 2rem;}
.icone_m {width: 4rem;}
.icone_l {width: 6rem;}
.icone_pos {line-height: 30px; vertical-align: top; padding-left: 5px;}

.pequeno {height: 30px !important; line-height: 30px !important;}
/*.autocomplete-content ul, li{z-index: 99999 !important;}*/
.modal, .material-tooltip, .dropdown-content {z-index: 999999 !important;}
.modal_desconto {padding: 10px 10px 0 10px !important; width: 45% !important;}
.modal .modal-content {padding: 10px !important;}
.modal {max-height: 100%;}
.modal_padding {padding: 20px 0 0 20px;}
.modal_t {width: 60% !important}
.modal_s {width: 70% !important}
.modal_m {width: 80% !important}
.modal_l {width: 85% !important}

/*.modal {width: 100% !important; height: 100% !important; background-color: transparent !important;}*/
.dropdown-content li {min-height: 30px !important;}
.dropdown-content li>a, .dropdown-content li>span { padding: 5px 5px !important; border-bottom: 1px solid #ccc;}
.col .row {
    margin-left: -0.15rem;
    margin-right: -0.15rem;
}

.row {
    /*margin-bottom: 5px;*/
}

.p_l {
    margin-left: 20px !important;
}
.moeda{text-align: right;}

.tabs .tab a{
    color:#000;
    font-weight: bold;
} /*Black color to the text*/

.tabs .tab a:hover {
    background-color:#e0e0e0;
    color:#000;
    text-decoration: none;
} /*Text color on hover*/

.tabs .tab a.active {
    background-color:#e0e0e0;
    color:#000;
} /*Background and text color when a tab is active*/

.tabs .indicator {
    background-color:#000;
} /*Color of underline*/
  
.blink {
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
} 

.btn_servico{
    position: relative;
    top: 70px;
}

#btn_calc, #btn_calc_add {color: #fff !important}


/* Cabeçalho */

#cabecalho {width: 100%; height: 80px; background: #fff url("../img/bg.jpg") repeat 50% 100%; border-bottom: 1px solid #000; }
.brand-logo {text-shadow: 1px 1px 0px #fff !important; margin-right: 20px; margin-top:-30px; }
.logosss { font-size: 2rem}
.logo-img {
    max-height: 64px!important;
}
.sidenav{width: 250px !important;}
.collapsible{padding-left: 20px !important;}
.nav-wrapper{background-color: transparent !important;}

/*Bloco Exibição Dados Usuário*/
.topo_ {float: right; width: 100%; position: relative; margin: 0 auto; text-shadow: 1px 1px 0px #fff;}
.topo_ .name div {float: left; text-align: left; position: relative; margin-left: 10px; font-size: 0.9rem !important; line-height: 23px;}
.topo_ .name p {}
.logout {float: right; padding: 5px; margin-top: 0; margin-right: 5px; background: #f44336; border-radius: 5px;}
.logout:hover {background: #ef5350; -moz-box-shadow: inset 0 0 5px #888; -webkit-box-shadow: inset 0 0 5px #888; box-shadow: inset 0 0 5px #888;}
.logout a {font-size: 15px; text-decoration: none; color: #fff;}
.logout a:hover {text-shadow: none;}

.modal.top-sheet {
  top: 0 !important;
  bottom: auto;
  margin: 0;
  width: 100%;
  max-height: 45%;
  border-radius: 0;
  will-change: top, opacity;
  background-color: white;
}

    /* Mobile */
    @media only screen and (max-width: 768px) {
          .brand-logo {margin-top:5px !important;}
          nav {top: 0 !important;}
          .perfil {margin: 10px !important;}
          .sidenav-trigger {margin-top: 45px !important;}
          .sidenav-trigger i {height: 30px !important; line-height: 30px !important;}
          .perfil_img_m {width: 30% !important;}
    }


/* Rodapé */
#rodape {border-top: 1px solid #000; background: #fff url("../img/bg.jpg") repeat 50% 100%;}

/* Corpo */
main {flex: 1 0 auto;}

.modal_janela35, .modal_janela50 {position: relative; margin: 0 auto !important; padding-top: 20px;}
.modal_janela35 {width: 35%;}
.modal_janela50 {width: 60%;}

@media only screen and (max-width: 600px) {
    .modal_janela35 {width: 100%;}
    .modal_janela50 {width: 100%;}
    .modal_100 {width: 100%;}
}


.quadrado{
    width: 100%;
    height: 560px;
    background-image:
        url("data:image/svg+xml;utf8,\
            <svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'>\
                <rect fill='%23fff' width='50' height='50' x='0' y='0' stroke='black' stroke-width='1' />\
                <rect fill='%23fff' width='50' height='50' x='50' y='50' stroke='black' stroke-width='1' />\
                <rect fill='%23fff' width='50' height='50' x='50' y='0' stroke='black' stroke-width='1' />\
                <rect fill='%23fff' width='50' height='50' x='0' y='50' stroke='black' stroke-width='1' />\
            </svg>");
    background-size: 40px, cover;
}

#table_os td{width: 20px !important; height: 20px !important; line-height: 20px; padding: 0; border: 1px solid #e0e0e0;}
.tabela_menor td{padding: 0;}
.qt_est_new {text-align: center;}

.blc_cheque {-webkit-transition: background-color .25s ease; transition: background-color .25s ease; padding: 10px 0; line-height: 20px; margin: 0;}
.blc_cheque:hover {background-color: rgba(242, 242, 242, 0.8)!important;}




/* CSS Atualizado */

/* --- CONFIGURAÇÃO DE CORES (PALETA VIDROMAX) --- */
:root {
    /* Azul Profundo (Base de confiança) - Ajuste este Hex conforme sua logo exata */
    --brand-primary: #0056b3; 
    /* Ciano/Azul Vidro (Toque moderno) */
    --brand-secondary: #00a8cc; 
    /* Fundo suave */
    --brand-bg: #f0f2f5;
    /* Texto no cabeçalho */
    --header-text: #ffffff;
    --vidro-orange: #FF6600; 
    --vidro-blue: #002299;
    --vidromax-orange: #f36f21; /* Tom aproximado do laranja do logo */
    --vidromax-blue: #002699;   /* Tom aproximado do azul do logo */
}

/* Estilo Geral */
body { 
    background-color: var(--brand-bg); 
    background-image: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%); /* Efeito vidro sutil no fundo */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    min-height: 90vh; /* Ocupa quase toda a altura */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-login {
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Sombra suave elevada */
    overflow: hidden; /* Para o header não sair das bordas arredondadas */
    background: rgba(255, 255, 255, 0.95); /* Leve transparência */
}

.card-header-login {
    /* Gradiente da marca Vidromax */
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    color: var(--header-text);
    text-align: center;
    padding: 25px 20px;
    border-bottom: 4px solid rgba(0,0,0,0.1);
}

.logo-login {
    max-height: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2)); /* Destaca a logo no fundo colorido */
}

.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: #004494; /* Um tom mais escuro */
    border-color: #004494;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,86,179,0.3);
}

.form-control:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 204, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    color: var(--brand-primary);
}

.text-vidro-blue { color: var(--vidro-blue); }
.text-vidro-orange { color: var(--vidro-orange); }
.bg-vidro-blue { background-color: var(--vidro-blue) !important; color: white; }
.bg-vidro-orange { background-color: var(--vidro-orange) !important; color: white; }
.card-perfil { border-top: 4px solid var(--vidro-orange); }
.img-avatar {
    width: 140px; height: 140px; object-fit: cover; border-radius: 50%;
    border: 4px solid var(--vidro-blue); padding: 2px; background: white;
}
.btn-vidro { background-color: var(--vidro-blue); color: white; }
.btn-vidro:hover { background-color: #001a75; color: white; }

/* Identidade Vidromax */
.text-vidromax { color: var(--vidromax-blue); }
.bg-vidromax { background-color: var(--vidromax-blue); }

.btn-vidromax {
    background-color: var(--vidromax-orange);
    color: #fff;
    border: none;
    font-weight: bold;
}
.btn-vidromax:hover {
    background-color: #d65b12;
    color: #fff;
}

.avatar-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--vidromax-blue);
    overflow: hidden;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.border-top {border-color: var(--vidro-orange) !important;}



/* Carrossel */
/* =========================================
   CARROSSEL DENTRO DO CONTAINER
   ========================================= */
.carousel-item {    
    height: 500px; /* Altura fixa */
    background-color: #f0f0f0;
    border-radius: 0 0 12px 12px;
}
/* Define uma altura fixa para todas as imagens do banner */
.carousel-item img {
    width: 100%;           /* Ocupa a largura do container */
    height: 500px;         /* Força a altura padrão (Ajuste se achar muito alto/baixo) */
    object-fit: cover;     /* O TRUQUE: Corta o excesso, não estica a imagem */
    object-position: center; /* Centraliza a imagem antes de cortar */
    border-radius: 0 0 12px 12px;   /* Opcional: Arredonda os cantos para combinar com os cards */
}

/* Ajuste para CELULAR (Mobile) */
/* No celular, 500px pode ser muito alto. Vamos diminuir para 300px ou 350px */
@media (max-width: 768px) {
    .carousel-item img {
        height: 350px;
    }
}
.carousel-caption {
    background: rgba(0, 38, 230, 0.7); /* Fundo azul translúcido */
    padding: 20px;
    border-radius: 10px;
    border-bottom: 5px solid var(--vidro-orange); /* Detalhe laranja */
}

/* Seção de Ícones/Diferenciais */
.feature-icon {
    font-size: 2.5rem;
    color: var(--vidro-blue);
    margin-bottom: 1rem;
}

/* Área de Contato */
.contact-box {
    background: white;
    border-left: 5px solid var(--vidro-orange);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    height: 100%;
}

/* =========================================
CARDS DE SERVIÇOS (VIDROMAX STYLE)
========================================= */
.card-servico {
    background: #fff;
    border: none;
    border-radius: 12px; /* Cantos arredondados modernos */
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Sombra bem leve */
    border-bottom: 4px solid transparent; /* Prepara para a borda laranja */
}

/* Efeito ao passar o mouse */
.card-servico:hover {
    transform: translateY(-10px); /* O card sobe */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); /* Sombra aumenta */
    border-bottom-color: var(--vidro-orange); /* Aparece a linha laranja */
}

/* O Círculo do Ícone */
.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 102, 0, 0.1); /* Laranja bem clarinho no fundo */
    color: var(--vidro-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto; /* Centraliza */
    font-size: 1.8rem;
    transition: 0.3s;
}

/* Ao passar o mouse, o ícone inverte as cores */
.card-servico:hover .icon-box {
    background-color: var(--vidro-orange);
    color: #fff;
}

.card-title {
    color: var(--vidro-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Estilos que só aplicam na hora de imprimir */
@media print {
    /* Esconde menu lateral, topo, botões de filtro e url */
    .sidebar, .navbar, .btn, form, footer {
        display: none !important;
    }

    /* Remove sombras e fundos coloridos para economizar tinta */
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    /* Garante que o gráfico e a tabela usem a largura total do papel */
    .container-fluid, .content {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ajusta tamanho da fonte para caber mais dados */
    body {
        font-size: 12px;
        background-color: white !important;
    }
    
    /* Força quebra de página se a tabela for muito longa */
    tr {
        page-break-inside: avoid;
    }
}