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;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
}

.sidebar {
    width: 220px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #2c3e50;
    color: white;
    padding-top: 60px;
}

    .sidebar a {
        color: white;
        padding: 15px;
        display: block;
        text-decoration: none;
    }

        .sidebar a:hover {
            background-color: #34495e;
        }

.navbar-custom {
    background-color: #2c3e50;
    color: white;
}

.content-wrapper {
    margin-left: 220px;
    padding: 70px 20px 20px 20px;
}

.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Aplica a todos os botões da Syncfusion */
.e-btn {
    color: white !important;
}

/* Para garantir contraste se houver variações */
.e-btn:hover {
    color: white !important;
}

.custom-link-btn.e-btn {
    background-color: transparent !important;
    border: none !important;
    color: #0d6efd !important;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: none !important;
    font-weight: 500;
    cursor: pointer;
}

.custom-link-btn.e-btn:hover {
    background-color: transparent !important;
    color: #0d6efd !important;
    text-decoration: none !important;
}

/* Cabeçalho preto */
.e-grid .e-headercell {
    background-color: #1f1f1f !important;
    color: white !important;
    font-weight: bold;
    text-align: center;
}

/* Linhas alternadas */
.e-grid .e-row:nth-child(even) {
    background-color: #f8f9fa;
}

.e-grid .e-row:nth-child(odd) {
    background-color: #eeeeee;
}

/* Centralizar o título */
.alerts-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.6rem;
}

.bg-soft-success {
    background-color: #d1e7dd !important;
}

.bg-soft-danger {
    background-color: #f8d7da !important;
}

.flash-message {
    margin-top: 2.5rem;
    z-index: 950;
    position: relative;
}
