﻿/* WIGI custom styles */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
    color: #2f3f52;
}

a {
    color: #1d4ed8;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
    color: #1546ad;
    text-decoration: none;
}

.wrapper {
    min-height: 100vh;
}

.content-wrapper {
    background: transparent;
    min-height: calc(100vh - 80px);
    padding: 1.5rem 1rem 2rem;
}

.content-header {
    margin-bottom: 1rem;
}

.content-header .container-fluid,
.content .container-fluid {
    max-width: 1380px;
    margin: 0 auto;
}

.card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1.25rem 2rem rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #1f2937;
    font-weight: 700;
}

.card-body {
    background: #fff;
}

.card-footer {
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.table {
    background: #fff;
}

.table th,
.table td {
    vertical-align: middle;
    border-top: 1px solid #e5e7eb;
}

.table thead th {
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
}

.table tbody tr:hover {
    background: #f8fafc;
}

.btn {
    border-radius: 0.75rem;
}

.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background-color: #6b7280;
    border-color: #6b7280;
}

.btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
}

.form-control,
.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.form-control:focus,
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:active {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}

.input-group-text {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #9ca3af;
}

.breadcrumb-item a {
    color: #2563eb;
}

.breadcrumb-item.active {
    color: #6b7280;
}

.small-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.75rem 1.25rem rgba(15, 23, 42, 0.08);
}

.small-box .icon {
    font-size: 3rem;
}

.small-box .inner h3,
.small-box .inner p {
    color: #fff;
}

.small-box .small-box-footer {
    color: rgba(255, 255, 255, 0.92);
}

.preloader {
    background: #f8fafc;
}

.preloader img {
    filter: drop-shadow(0 0 1rem rgba(15, 23, 42, 0.12));
}

.login-page {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.login-box {
    width: 100%;
    max-width: 420px;
    margin: 4.5rem auto;
}

.login-card-body {
    border-radius: 1rem;
    box-shadow: 0 1.25rem 2rem rgba(15, 23, 42, 0.08);
}

.callout {
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    color: #1e3a8a;
}

.callout h5 {
    margin-top: 0;
}

.total-row {
    font-weight: 700;
    background-color: #e2f0fb;
}

.texto_dashboard {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2563eb;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2563eb;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.dropzone {
    background: #fff;
    border-radius: 0.75rem;
    border: 2px dashed #0b69d4;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
}

.alinhamento-direita {
    text-align: right;
}

pre code {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    display: block;
    padding: 1.25rem;
    border-radius: 0.75rem;
}

.set-uppercase {
    text-transform: uppercase;
}

.ajustar-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 250px;
}

.jsgrid-row,
.jsgrid-alt-row {
    border-bottom: 1px solid #e5e7eb;
}

.jsgrid-table {
    font-size: 0.92rem;
}

@media screen and (max-width: 1279px) {
    .jsgrid-table {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 767px) {
    .content-wrapper {
        padding: 1rem 0.75rem 1.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .content-header .row {
        display: block;
    }

    .content-header .col {
        margin-bottom: 0.75rem;
    }
}
