﻿/* -------------------------------------------------------------------------- */
/*                                 Custom Theme                               */
/* -------------------------------------------------------------------------- */
.con-btn-custom {
    background: #2344c6;
    color: #fff;
    border-color: #2344c6;
}
    .con-btn-custom:hover, .con-btn-custom:active, .con-btn-custom:last-child {
        background: #2344c6;
        border-color: #2344c6;
    }
.validation-summary-errors{
    color:#C1002A;
    font-size: 0.8em;
}
.breadcrumb{
    font-size: 0.9em;
}

.py-6 {
    padding-top: 0rem !important;
}
h5, .h5 {
    font-size: 1.0rem;
} 

/* Alterções para o float input - alterei*/
.g-2, .gx-2 {
    falcon-gutter-x: 2rem;
}

.form-floating>.form-control {
    padding: 1rem;
}

.form-floating>label {
    line-height: 0.8rem;
}
.form-floating >.form-control, .form-floating, .form-floating > .form-select {
    height: calc(2.8rem + 2px);
}

.form-floating>.form-select {
    padding-top: 1rem;
    padding-bottom: 0;
}

.con-table-custom{
    font-size: 0.89rem!important;
}
.con-table-custom{
    vertical-align: middle;
}

.con-item-empty {
    margin-top: 10px;
}

.modal-body .alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0.8rem 1rem!important;
}
.modal-body .alert {
    padding: 0.5rem 1rem;
    font-size: 0.9em;
}
.modal-body .btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.7em auto no-repeat;
}

.con-options-medidor{
   background: #f5f5f5!important;
   padding: 0.5rem 1.8rem!important;
   padding-left: 0.2rem;
}

.dark .con-options-medidor{
    background: rgba(0, 0, 0, 0.20)!important;
} 

.con-item-medidor{
    max-width: 9rem;
    padding-left: 0px;
    padding-right: 0.5rem;
}

.con-item-medidor-conteudo :hover{
    text-decoration: none!important;
}
.con-modal {
    cursor: pointer;   
}
tbody tr.con-modal:hover{
    background: rgba(0, 0, 0, 0.05);
} 
.dark tbody tr.con-modal:hover{
    background: rgba(0, 0, 0, 0.20)!important;
}
.con-item-medidor-card {
    min-width: 230px;
    max-width: 9rem;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 10px;
    -webkit-box-shadow: var(--falcon-btn-falcon-box-shadow);
    box-shadow: var(--falcon-btn-falcon-box-shadow);
}
.con-item-medidor-card h6{
    font-size: 0.8rem;
}

.con-item-medidor-card .card-header{
     padding-left: 0.8rem;
     padding-right: 0px;
     
}
.con-item-medidor-card .card-body{
     padding: 0.8rem;
     font-size: 0.8rem;
}

.con-item-medidor-card-body :hover{
    color: #212121;
}
.con-collapse{
    font-size: 1rem; 
    color:dodgerblue
}
span .con-collapse{
    color: aqua;
}
.con-options-medidor .card{
    -webkit-box-shadow: var(--falcon-box-shadow-sm);
    box-shadow: var(--falcon-box-shadow-sm);
    border: 1px solid var(--falcon-border-color);
    margin-top: 0.2rem;
}
.con-options-medidor .col-2{
    padding: 0px;
}

.img-card-item-lista {
    width: 120px;
    height: 120px;
    
}
/*border-radius: 4px;
    border: 1px solid #e0e0e0;
    */

.con-num-page:hover  {
    border: 1px solid #bbb;
    color: #515151;
}
.con-num-page{
    border: 1px solid #e0e0e0;
    border-radius: 0.2rem;
    margin-left: 0.3rem;
}
.con-num-page.active{
    background: #2c7be5;
    color: #fff;
    border-color: #2c7be5;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
}
.con-num-page.active:hover{
    background: #2569C3;
    color: #fff;
    border-color: #2569C3;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
}
.con-num-page a  {     
    padding: 0.1875rem 0.4rem;    
    cursor: pointer;
    text-decoration: none;
    margin: 4px;
    user-select: none;
    background-color: transparent;
    color: #515151;
}
.con-num-page-active  {     
    color: #fff;
    background-color: #2c7be5;
    border-color: #2c7be5;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
}
.con-num-page-active:hover  {
    background: #2569C3;
    color: #fff;
    border-color: #2569C3;
}

.drop-foto-preview{
    border: 1px dotted #ccc;
    height: 400px;
    text-align:center;
}
.foto-preview{
    max-width: 100%;
    max-height: 100%;
}
.con-drop-preview-info{
    display: inline;
    width: 40%;
    height: 40%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.card-height-full{
    height: calc(100% - 10rem)!important;
    position: absolute!important;
    width: 100%!important;
}

.con-table-custom-limit {
  display: block;
  height: calc(100% - 12rem)!important;
  /*height: 100px!important;*/
  overflow-y: scroll;
  position: absolute!important;
  width: 95%;
}

.sticky-header{ 
    overflow: auto;     
}
.sticky-header thead th { 
    position: sticky; 
    top: 0; z-index: 1; 
    background: #fff;
}

.con-linha-posicao-absoluta{
    position: absolute;
    width: 95%;
    bottom: 0;
    margin: 0 10px 10px 0;
}
.con-alert-message{
    margin-top: 1rem;
}
.custom-modal-width {
    max-width: 90%;  /* ou a porcentagem/largura que você deseja */
}

.login-wrapper {
    width: 100%;
    max-width: 420px; /* largura ideal para login */
}

.login-wrapper .card {
    border-radius: 10px;
}

.td-mensagem {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.fieldset-soft {
    border: 1px dashed #d8e2ef;
    border-radius: 6px;
    /* Compactação interna */
    padding: 12px 14px 14px;
    /* Menos espaço entre fieldsets */
    margin-bottom: 10px;
    /* Centraliza levemente nas laterais */
    margin-left: 6px;
    margin-right: 6px;
}

    /* Legend discreto, estilo label */
    .fieldset-soft > legend {
        float: none;
        width: auto;
        /* Menos “respiro” no título */
        padding: 0 6px;
        margin-bottom: -2px;
        font-size: 0.8rem;
        font-weight: 500;
        color: #748194; /* Falcon text-muted */
        letter-spacing: 0.02em;
    }