﻿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 {
    padding-bottom: 30px;
    background-color: #121212;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: white;
    text-decoration: none;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border: 0;
}

input::placeholder {
    color: #FFFFFF !important;
}

#login-logo {
    height: 100px;
}
@media (max-width: 576px) {
    #login-logo {
        height: 90px;
    }
}

.logo-container {
    width: 500px;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 30px;
}

@media (max-width: 576px) {
    .logo-container {
        width: 250px;
    }
}

.rounded-custom {
    border-radius: 16px;
}

.btn-primary {
    color: #121212;
    background-color: #F7DA0B;
    border-color: #F7DA0B;
}

.input-custom {
    background-color: #041C20;
    color: white;
    border: none;
    padding: 15px;
}

.input-datetime {
    background-color: #041C20;
    color: white;
    border: none;
}

    .input-datetime::placeholder {
        color: white !important;
        opacity: 1;
    }

    .input-datetime:-ms-input-placeholder {
        color: white !important;
    }

    .input-datetime::-ms-input-placeholder {
        color: white !important;
    }

.input-datetime-calendar {
    background-color: #041C20;
    color: white;
    border: none;
}

select.form-control {
    background-color: #041C20;
    color: white;
    border: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
}

    select.form-control::-ms-expand {
        display: none;
    }

.select-container {
    position: relative;
}

 /*   .select-container::after {
        content: '\25BC';
        font-size: 16px;
        color: #489957;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }*/

.btn-filter {
    padding: 13px;
}

table.dataTable {
    border: none;
}

    table.dataTable tbody td {
        border: none;
    }

    table.dataTable thead th {
        border: none;
    }

    table.dataTable thead th {
        color: white;
        font-weight: bold;
    }

    table.dataTable tbody tr.selected {
        background-color: transparent;
    }

    table.dataTable tbody tr td {
        background-color: #0C3036;
        color: white;
    }

    table.dataTable tbody tr td:first-child {
        border-radius: 8px 0 0 8px;
    }

    table.dataTable tbody tr td:last-child {
        border-radius: 0 8px 8px 0;
    }

    table.dataTable {
        border-spacing: 0 10px !important;
        border-collapse: separate !important;
    }

    table.dataTable tbody td {
        border: none;
    }

.dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 2px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
}

    .dataTables_paginate .paginate_button:hover {
        background-color: #0056b3;
        color: #fff;
    }

#malotesTable th {
    border-bottom-width: 0px;
}

.btn-arrow {
    background-color: #0C3036;
    border: 0;
}

#malotesTable tbody tr td:last-child {
    text-align: right;
}

.btn-back {
    border-color: #489957;
    color: #489957;
}

.dataTables_empty {
    text-align: center !important;
    border-radius: 8px 8px 8px 8px !important;
}

.btn-actions {
    color: white;
    border: 0;
    background-color: #0C3036;
}

button:disabled {
    background-color: #37484B !important;
    border: 0;
    color: #01171A !important;
    cursor: not-allowed;
    opacity: 1;
}

.btn-primary:hover {
    background-color: #D06D12 !important;
    border-color: #D06D12 !important;
    color: #121212 !important;
}

.btn-back:hover {
    background-color: #0A424B !important;
    border-color: #0A424B !important;
    color: #121212 !important;
}

.authorization-input {
    width: 60%;
}

input[type="checkbox"] {
    appearance: none; /* Remove o estilo padrão do navegador */
    width: 20px;
    height: 20px;
    border: 2px solid #cccccc; /* Borda cinza padrão */
    border-radius: 4px; /* Borda arredondada */
    outline: none;
    background-color: #f9f9f9; /* Fundo padrão */
    display: inline-block;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s; /* Suaviza mudanças */
}

    /* Estilo para o checkbox quando marcado */
    input[type="checkbox"]:checked {
        background-color: #28a745; /* Verde destacado */
        border-color: #28a745; /* Borda verde */
    }

        /* Adiciona o ícone de check (✓) quando marcado */
        input[type="checkbox"]:checked::after {
            content: '✓'; /* Ícone de check */
            font-size: 16px;
            color: white; /* Cor do check */
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
        }

    /* Estilo para checkbox desabilitado */
input[type="checkbox"]:disabled {
        cursor: not-allowed;
        opacity: 0.6; /* Reduz a opacidade */
    }

/* Sidebar Menu Styles */
.sidebar-menu .menu-item {
    transition: all 0.3s ease;
}

.sidebar-menu .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.sidebar-menu .menu-item.menu-active {
    background-color: #D06D12;
    border-radius: 8px;
}

.sidebar-menu .menu-item.menu-active a {
    color: #121212 !important;
    font-weight: 500;
}

.sidebar-menu .menu-item a {
    text-decoration: none;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.sidebar-menu .menu-item a:hover {
    color: white !important;
}

/* Meta items styling */
.meta-item {
    transition: all 0.3s ease;
}

.meta-item:hover {
    background-color: #2B2C30 !important;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-menu .menu-item {
        margin: 0.5rem 0.5rem !important;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}

/* Override Bootstrap disabled form controls styling */
.form-control:disabled,
.form-control[readonly] {
    background-color: #4a4e52 !important;
    opacity: 1 !important;
    color: white !important;
}

.form-select:disabled,
.form-select[readonly] {
    background-color: #4a4e52 !important;
    opacity: 1 !important;
    color: white !important;
}
