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;
}

/* ===== MENU ADMINISTRATIVO ===== */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Dropdown do Admin */
#adminDropdown {
    font-weight: 600;
}

.dropdown-header {
    color: #495057;
    font-weight: bold;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.75rem;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Badge de Roles */
.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

/* Dropdown do Usuário */
#userDropdown {
    font-weight: 500;
}

.dropdown-menu-end {
    min-width: 220px;
}

/* Links do Admin em destaque */
.nav-link.text-primary {
    font-weight: 600;
}

/* Ajustes para mobile */
@media (max-width: 576px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        border: 0;
        box-shadow: none;
    }
}

/* ===== CARDS E TABELAS ADMIN ===== */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* ===== BOTÕES ===== */
.btn-group .btn {
    margin: 0 2px;
}

/* ===== ALERTAS ===== */
.alert {
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    border-left-color: #28a745;
}

.alert-danger {
    border-left-color: #dc3545;
}

.alert-info {
    border-left-color: #17a2b8;
}

.alert-warning {
    border-left-color: #ffc107;
}

/* ===== UTILITÁRIOS ===== */
.opacity-50 {
    opacity: 0.5;
}

.text-decoration-none {
    text-decoration: none !important;
}
