﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.data-grid-link {
    text-decoration: underline;
}

i.text-icon {
    height: 16px;
    width: 20px;
    font-size: larger;
}

.fz-color-ficha-label {
    color: #aaaaaa;
}

.fz-color-green {
    color: #00c950;
}

.fz-color-excel {
    color: #04b34a;
}

.fz-color-red {
    color: #e7000b;
}

.fz-color-purple {
    color: #8e51ff;
}

.fz-color-yellow {
    color: #fdc700;
}

.fz-color-blue {
    color: #1379f0;
}

.fz-color-orange {
    color: #ff6600;
}

.fz-color-teal {
    color: #00b3b3;
}

.fz-color-pink {
    color: #ff4db8;
}

.fz-color-brown {
    color: #8b4513;
}

.fz-color-gray {
    color: #555555;
}


.page-title > i {
    font-size: x-large;
}

@media (min-width: 64rem) {
    .apata-layout {
        --sidebar-width: 110px;
    }

    #sidebar {
        width: var(--sidebar-width);
    }

    #sidebar_menu > .kt-menu-item > .kt-menu-link {
        width: 82px;
    }
}

.entidade-atual {
    display: inline-flex;
    max-width: 4.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.3rem 0.45rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--background);
    color: var(--muted-foreground);
}

.entidade-atual__icone {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 0.75rem;
}

.entidade-atual__nome {
    overflow: hidden;
    max-width: 2.8rem;
    font-size: 0.7rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entidade-atual--sem-entidade {
    border-color: #f59e0b;
}

.entidade-atual--sem-entidade .entidade-atual__icone {
    color: #f59e0b;
}

@media (max-width: 639px) {
    .entidade-atual {
        max-width: 8rem;
    }
}

.w-75pct {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}
.w-85pct {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.hidden-editor {
    display: none !important;
}

.conf-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.conf-col-3 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 10px;
    box-sizing: border-box;
}

.conf-col-full {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.conf-card {
    background-color: #fff;
    border: 1px solid #dee2e6; 
    border-radius: 6px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.conf-card-header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conf-card-body {
    padding: 15px;
}

.conf-card-title {
    color: #0d6efd;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.conf-custo-badge {
    background-color: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #c3e6cb;
}

.conf-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 4px;
}

.conf-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #212529; 
    min-height: 20px;
    word-wrap: break-word;
}

#confirmacao-step-layout {
    height: 500px;
    display: flex;
    flex-direction: column;
}

.conf-header-section {
    flex: 0 0 auto;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #dee2e6;
}

#confirmacao-scroll-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.conf-footer-section {
    flex: 0 0 auto;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
}

.op-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.op-card-header {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.op-card-title {
    color: #0d6efd
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
}

.op-card-body {
    padding: 20px; 
}

.btn-delete-container {
    margin-left: 10px;
}

.btn-delete-foto {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 50;
    width: 32px;
    height: 32px;
    background-color: white;
    border: 1px solid #e5e7eb; 
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dc3545; 
    transition: all 0.2s ease-in-out;
}

.btn-delete-foto:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    transform: scale(1.1);
}

.btn-delete-foto i {
    color: inherit !important;
}

.checkbox-normal-size .dx-checkbox-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 22px !important;
}

.checkbox-normal-size {
    margin-top: 8px;
    margin-bottom: 4px;
}
