/* Reset e estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #000000;
    --accent-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --gray-color: #6b7280;
    --light-gray: #e5e7eb;
    --black-fine: rgba(0, 0, 0, 0.10);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(80deg, rgba(10, 89, 236, 0.24) 10%, rgba(10, 89, 236, 0.38) 100%);
    min-height: 100vh;
    margin: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* Adicione estas propriedades para fixar no topo */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-dark {
    background-color: var(--secondary-color) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    background-color: var(--dark-color);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    /* Garante que dropdowns fiquem acima de tudo */
    z-index: 1001;
}

.dropdown-item {
    color: white !important;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white !important;
}

/* Cards */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Formulários */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
    font-weight: 600;
}

.card-body {
    padding: 30px;
}

.form-control {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* Botões */
.btn {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--gray-color);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

/* Tabelas */
.table-responsive {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    border-color: var(--light-gray);
}

/* Alertas */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 1;
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 30px;
    text-align: center;
}

.login-body {
    padding: 40px;
}

/* Ações rápidas */
.quick-actions {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.action-card:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.action-card i {
    font-size: 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 5px;
    }

    .navbar-nav {
        gap: 10px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-header, .stat-card, .quick-actions {
    animation: fadeIn 0.6s ease-out;
}

/* Layout básico */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

/* Header */
.header {
    background: var(--secondary-color);
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
}

.user-type {
    font-size: 0.8rem;
    background: var(--accent-color);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 5px;
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: black;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    min-width: 200px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: var(--dark-color);
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* vazio */
.dropdown-item:hover {

}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.ml-auto {
    margin-left: auto;
}

/* Dashboard */
.dashboard h1 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--gray-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    margin-top: 10px;
}

.footer-content {
    text-align: center;
}

.footer p {
    margin: 5px 0;
}

.footer .fa-heart {
    color: #ff6b6b;
}

/* Alertas */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .user-info {
        align-items: center;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 10px 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para páginas de usuários */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.page-header h1 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.8rem;
}

.btn-group {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.875rem;
}

/* Tabelas */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table-responsive {
    overflow-x: auto;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background-color: #3b82f6;
    color: white;
}

.badge-secondary {
    background-color: #6b7280;
    color: white;
}

.badge-info {
    background-color: #06b6d4;
    color: white;
}

.badge-success {
    background-color: #10b981;
    color: white;
}

.badge-warning {
    background-color: #f59e0b;
    color: white;
}

.badge-danger {
    background-color: #ef4444;
    color: white;
}

/* Formulários */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.card-header h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.card-body {
    padding: 20px;
}

/* Estado vazio */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.empty-state i {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #374151;
}

/* Grid system */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-2, .col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
    padding: 0 15px;
}

.col-md-2 { width: 16.66%; }
.col-md-3 { width: 25%; }
.col-md-4 { width: 33.33%; }
.col-md-6 { width: 50%; }
.col-md-8 { width: 66.66%; }
.col-md-12 { width: 100%; }

.mt-3 { margin-top: 15px; }

/* Responsividade */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-group {
        width: 100%;
        flex-wrap: wrap;
    }

    .col-md-2, .col-md-3, .col-md-4, .col-md-6, .col-md-8 {
        width: 100%;
        margin-bottom: 15px;
    }

    .table {
        font-size: 0.9rem;
    }

    .table th, .table td {
        padding: 8px 10px;
    }
}

/* Badges coloridos para situações */
.badge-info {
    background-color: #06b6d4;
    color: white;
}

.badge-success {
    background-color: #10b981;
    color: white;
}

.badge-warning {
    background-color: #f59e0b;
    color: white;
}

.badge-danger {
    background-color: #ef4444;
    color: white;
}

.badge-primary {
    background-color: #3b82f6;
    color: white;
}

.badge-secondary {
    background-color: #6b7280;
    color: white;
}

/* Responsividade para tabelas */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 5px;
    }

    .btn-sm {
        padding: 3px 8px;
        font-size: 0.8rem;
    }
}

/* Sistema de mensagens flash */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
}

.flash-message {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    position: relative;
    border-left: 4px solid;
}

.flash-message.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.flash-success {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.flash-danger {
    border-left-color: var(--danger-color);
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.flash-warning {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.flash-info {
    border-left-color: var(--accent-color);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.flash-content {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    gap: 12px;
}

.flash-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.flash-success .flash-icon {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.flash-danger .flash-icon {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.1);
}

.flash-warning .flash-icon {
    color: var(--warning-color);
    background: rgba(245, 158, 11, 0.1);
}

.flash-info .flash-icon {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
}

.flash-text {
    flex: 1;
    color: var(--dark-color);
    font-weight: 500;
    line-height: 1.4;
    font-size: 0.95rem;
}

.flash-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.9rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.flash-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.flash-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    transform-origin: left;
    animation: flashProgress 3s linear forwards;
}

.flash-success .flash-progress {
    background: linear-gradient(90deg, var(--success-color), #34d399);
}

.flash-danger .flash-progress {
    background: linear-gradient(90deg, var(--danger-color), #f87171);
}

.flash-warning .flash-progress {
    background: linear-gradient(90deg, var(--warning-color), #fbbf24);
}

.flash-info .flash-progress {
    background: linear-gradient(90deg, var(--accent-color), #60a5fa);
}

.flash-message.paused .flash-progress {
    animation-play-state: paused;
}

/* Animações */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes flashProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .flash-container {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .flash-content {
        padding: 12px;
    }

    .flash-text {
        font-size: 0.9rem;
    }
}

/* Validação de formulários */
.is-invalid {
    border-color: #ef4444 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ef4444;
}

/* Estados de carregamento */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Botões com estado de carregamento */
.btn.loading {
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

/* Estilos específicos para advogados */
.especialidades .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}

.profile-image {
    transition: transform 0.3s;
}

.profile-image:hover {
    transform: scale(1.05);
}

.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
}

/* Tags para especialidades */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Estilos para tabelas responsivas */
@media (max-width: 768px) {
    .table-responsive table {
        font-size: 0.85rem;
    }

    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

textarea {
    resize: none;
}

/* paginação */
.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    margin: 0 2px;
    border-radius: 4px;
}

.pagination .page-link:hover {
    background-color:  rgba(239, 68, 68, 0.25) !important;
    border-color: #dee2e6;
    padding: 3px;
    color: #000;
}

.pagination .disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
}

/* Estilos para o perfil */
.avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
}

.avatar-text {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .avatar-circle {
        width: 100px !important;
        height: 100px !important;
    }

    .avatar-text {
        font-size: 2.5rem !important;
    }
}

/* Estilos para formulários */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Animações para feedback */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

h3{
    text-decoration: #1e3a8a;
}

.selecao-trava:disabled {
    pointer-events: none;       /* Impede clique e interação */
    background-color: white;    /* Mantém a cor de fundo (sem cinza) */
    color: black;               /* Mantém a cor do texto */
    opacity: 1;                 /* Garante que não fique transparente */
    border: 1px solid #ccc;     /* Estilo de borda original */
    cursor: not-allowed;        /* Opcional: mostra cursor de proibido */
}
