 /* ADMIN.CSS - Painel Administrativo COMPLETO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

/* ========== HEADER ADMIN ========== */
.admin-header {
    background: #0a2a43;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header h1 i {
    color: #FFC72C;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    font-weight: 500;
}

.user-info a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background: #FFC72C;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.user-info a:hover {
    background: #ffaa00;
    transform: translateY(-2px);
}

/* ========== MENU LATERAL ========== */
.menu-sidebar {
    background: #0a2a43;
    color: white;
    width: 250px;
    min-height: calc(100vh - 70px);
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 70px;
    transition: all 0.3s;
    z-index: 900;
}

.menu-sidebar.collapsed {
    width: 70px;
}

.menu-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-sidebar li {
    margin-bottom: 5px;
}

.menu-sidebar a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
}

.menu-sidebar a:hover,
.menu-sidebar a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #FFC72C;
}

.menu-sidebar.collapsed a span {
    display: none;
}

.menu-sidebar.collapsed a {
    justify-content: center;
    padding: 15px;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    padding: 5px;
}

/* ========== CONTEÚDO PRINCIPAL ========== */
.main-content {
    margin-left: 250px;
    padding: 20px;
    transition: all 0.3s;
    min-height: calc(100vh - 70px);
}

.main-content.expanded {
    margin-left: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== PÁGINA DE LOGIN ========== */
.login-page {
    background: linear-gradient(135deg, #0a2a43 0%, #1a3a5f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FFC72C, #0ea5e9);
}

.logo-area {
    text-align: center;
    margin-bottom: 30px;
}

.logo-area i {
    font-size: 48px;
    color: #0a2a43;
    background: #f0f7ff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 15px;
    border: 3px solid #FFC72C;
}

.logo-area h1 {
    color: #0a2a43;
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.logo-area p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* FORM TABS */
.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: #0a2a43;
}

.tab-btn.active {
    color: #0a2a43;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFC72C;
    border-radius: 3px 3px 0 0;
}

/* FORM CONTAINERS */
.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

/* FORM GROUPS */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    z-index: 1;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #e1e5eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
    position: relative;
}

.input-with-icon input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #0a2a43;
}

.show-password-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.show-password-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #FFC72C;
    cursor: pointer;
}

/* BOTÕES LOGIN */
.btn-login,
.btn-cadastrar,
.btn-recuperar,
.btn-publicar,
.btn-salvar-rascunho,
.btn-publicar-agora,
.btn-reset,
.btn-aprovar,
.btn-rejeitar,
.btn-adicionar-tempo,
.btn-remover-tempo,
.filtro-btn,
.action-btn {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #FFC72C, #ffaa00);
    color: #0a2a43;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(255, 199, 44, 0.3);
}

.btn-cadastrar {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #0ea5e9, #0a2a43);
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

.btn-cadastrar:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(14, 165, 233, 0.3);
}

.btn-recuperar {
    width: 100%;
    padding: 16px;
    background: #f8f9fa;
    color: #444;
    border: 2px solid #e1e5eb;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.btn-recuperar:hover {
    background: #e9ecef;
    border-color: #0ea5e9;
}

.btn-publicar {
    background: #0a2a43;
    color: white;
    padding: 14px 28px;
    font-size: 16px;
}

.btn-publicar:hover {
    background: #FFC72C;
    color: #0a2a43;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 199, 44, 0.3);
}

/* MENSAGENS */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-warning i {
    font-size: 20px;
    margin-top: 2px;
}

.sucesso {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

/* LINKS */
.form-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-links a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.form-links a:hover {
    color: #0a2a43;
    text-decoration: underline;
}

.switch-form {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.info-text {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-text i {
    color: #0ea5e9;
}

/* VOLTAR AO SITE */
.back-to-site {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-to-site a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-to-site a:hover {
    color: #0a2a43;
}

/* ========== DASHBOARD ========== */
.welcome-banner {
    background: linear-gradient(135deg, #0a2a43 0%, #1a3a5f 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50px, -50px);
}

.welcome-banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.welcome-banner p {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.stats-highlight {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #FFC72C;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-box h4 {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #0a2a43;
    line-height: 1;
}

.stat-trend {
    font-size: 14px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-trend.positive {
    color: #4CAF50;
}

.stat-trend.negative {
    color: #f44336;
}

.quick-actions {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.quick-actions h3 {
    color: #0a2a43;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.action-btn:hover {
    background: white;
    border-color: #FFC72C;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 199, 44, 0.2);
}

.action-btn i {
    font-size: 20px;
    color: #0a2a43;
    background: #FFC72C;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn span {
    font-weight: 600;
    font-size: 15px;
}

.recent-activity {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.recent-activity h3 {
    color: #0a2a43;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f7ff;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 15px;
}

.activity-time {
    font-size: 12px;
    color: #888;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* ========== FORMULÁRIO DE NOTÍCIA ========== */
.formulario-noticia {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.formulario-noticia h2 {
    color: #0a2a43;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-control:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    outline: none;
}

.textarea-large {
    min-height: 300px;
    resize: vertical;
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px dashed #c1c9d2;
    border-radius: 10px;
    color: #666;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.file-upload-label:hover {
    background: #e9ecef;
    border-color: #0ea5e9;
}

.file-upload-label i {
    font-size: 24px;
    color: #0ea5e9;
}

.preview-imagem {
    margin-top: 15px;
    display: none;
}

.preview-imagem img {
    max-width: 300px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #e1e5eb;
}

/* Novos Tempos */
.tempos-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.tempo-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #FFC72C;
    position: relative;
}

.tempo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.tempo-numero {
    background: #FFC72C;
    color: #0a2a43;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.btn-adicionar-tempo {
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    font-size: 15px;
    margin-top: 10px;
}

.btn-adicionar-tempo:hover {
    background: #3d8b40;
    transform: translateY(-2px);
}

.btn-remover-tempo {
    background: #f44336;
    color: white;
    padding: 6px 12px;
    font-size: 13px;
}

.btn-remover-tempo:hover {
    background: #d32f2f;
}

/* Botões de ação */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.btn-salvar-rascunho {
    background: #6c757d;
    color: white;
    padding: 14px 28px;
    font-size: 16px;
}

.btn-salvar-rascunho:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.btn-publicar-agora {
    background: #0a2a43;
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    margin-left: auto;
}

.btn-publicar-agora:hover {
    background: #FFC72C;
    color: #0a2a43;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 199, 44, 0.3);
}

/* Contador de caracteres */
.char-count {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.char-count.warning {
    color: #ff9800;
}

.char-count.error {
    color: #f44336;
}

/* ========== LISTA DE NOTÍCIAS ========== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filtros-container {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e1e5eb;
    color: #666;
}

.filtro-btn:hover {
    background: #e9ecef;
    color: #0a2a43;
}

.filtro-btn.active {
    background: #0a2a43;
    color: white;
    border-color: #0a2a43;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-rascunho {
    background: #fff3cd;
    color: #856404;
}

.status-publicado {
    background: #d4edda;
    color: #155724;
}

.status-arquivado {
    background: #f8d7da;
    color: #721c24;
}

.noticia-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-left: 4px solid #FFC72C;
}

.noticia-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.noticia-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.noticia-titulo {
    font-size: 18px;
    font-weight: 700;
    color: #0a2a43;
    margin: 0;
    flex: 1;
}

.noticia-subtitulo {
    color: #666;
    font-size: 14px;
    margin: 5px 0 15px 0;
    line-height: 1.4;
}

.noticia-meta {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.noticia-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.noticia-acoes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.noticia-acoes .editar {
    background: #4CAF50;
    color: white;
}

.noticia-acoes .editar:hover {
    background: #3d8b40;
}

.noticia-acoes .excluir {
    background: #f44336;
    color: white;
}

.noticia-acoes .excluir:hover {
    background: #d32f2f;
}

.noticia-acoes .publicar {
    background: #0a2a43;
    color: white;
}

.noticia-acoes .publicar:hover {
    background: #FFC72C;
    color: #0a2a43;
}

/* ========== APROVAR USUÁRIOS ========== */
.lista-usuarios {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.usuario-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 5px solid #FFC72C;
}

.usuario-item h4 {
    color: #0a2a43;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 700;
}

.usuario-item p {
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

.usuario-item small {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.usuario-acoes {
    display: flex;
    gap: 10px;
}

.btn-aprovar {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
}

.btn-aprovar:hover {
    background: #3d8b40;
}

.btn-rejeitar {
    background: #f44336;
    color: white;
    padding: 8px 16px;
}

.btn-rejeitar:hover {
    background: #d32f2f;
}

/* ========== PÁGINA DE REDEFINIÇÃO ========== */
.reset-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
}

.reset-container h2 {
    color: #0a2a43;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.btn-reset {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #FFC72C, #ffaa00);
    color: #0a2a43;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(255, 199, 44, 0.3);
}

/* ========== DROPDOWN ========== */
.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background 0.3s;
}

.user-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFC72C;
    color: #0a2a43;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #0a2a43;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* ========== PAGINAÇÃO ========== */
.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.paginacao a,
.paginacao span {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.paginacao a {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5eb;
}

.paginacao a:hover {
    background: #e9ecef;
    color: #0a2a43;
}

.paginacao .ativa {
    background: #0a2a43;
    color: white;
    border-color: #0a2a43;
}

.paginacao .desabilitada {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
    border-color: #e1e5eb;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 20px;
    }
    
    .menu-sidebar {
        width: 70px;
    }
    
    .menu-sidebar a span {
        display: none;
    }
    
    .menu-sidebar a {
        justify-content: center;
        padding: 15px;
    }
    
    .main-content {
        margin-left: 70px;
        padding: 15px;
    }
    
    .main-content.expanded {
        margin-left: 70px;
    }
    
    .stats-highlight {
        flex-direction: column;
    }
    
    .stat-box {
        min-width: 100%;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .noticia-header,
    .usuario-item,
    .form-actions,
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .noticia-acoes,
    .usuario-acoes {
        width: 100%;
        justify-content: flex-start;
    }
    
    .form-actions button {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
    
    .btn-publicar-agora {
        margin-left: 0;
    }
    
    .login-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .reset-container {
        margin: 50px 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .form-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 10px;
        text-align: center;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .noticia-acoes,
    .usuario-acoes {
        flex-direction: column;
        width: 100%;
    }
    
    .noticia-acoes a,
    .usuario-acoes a {
        width: 100%;
        text-align: center;
    }
}
/* FORMULÁRIO MODERNO */
.card-form {
    background: #fff;
    padding: 25px 30px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    max-width: 650px;
    margin: 0 auto;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group-modern label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group-modern label span {
    color: #d6336c;
}

.form-group-modern input,
.form-group-modern textarea {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease-in-out;
    background: #fafafa;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.tip {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

.form-actions-modern {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary-modern {
    background: #4f46e5;
    padding: 12px 22px;
    border-radius: 8px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary-modern:hover {
    background: #4338ca;
}

.btn-secondary-modern {
    background: #f3f4f6;
    padding: 12px 18px;
    border-radius: 8px;
    color: #374151;
    border: 1px solid #d1d5db;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-secondary-modern:hover {
    background: #e5e7eb;
}

.acoes-noticia {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap; /* impede quebrar linha */
}

/* Botão leve e alinhado */
.acao-btn {
    background: transparent !important;
    border: none !important;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #0a2a43; /* texto azul escuro */
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap; /* impede quebra de linha */
}

.acao-btn i {
    color: #e8b200; /* amarelo padrão */
    font-size: 16px;
}

.acao-btn:hover {
    text-decoration: underline;
}

/* Remove qualquer herança do sistema */
.admin-table td .acao-btn,
.admin-table td .acoes-noticia a {
    background: transparent !important;
    border: none !important;
}
/* Remove sublinhado dos botões de ação */
.acoes-noticia a,
.acoes-noticia a:link,
.acoes-noticia a:visited,
.acoes-noticia a:hover,
.acoes-noticia a:active {
    text-decoration: none !important;
}
.curriculo-container {
    margin-top: 30px;
}

.curriculo-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.curriculo-visualizacao {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.curriculo-edicao {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.edicao-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.curriculo-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.foto-perfil {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #007bff;
}

.foto-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ddd;
    font-size: 60px;
    color: #999;
}

.info-basica h1 {
    margin: 0 0 10px 0;
    color: #333;
}

.profissao, .formacao, .lattes {
    margin: 8px 0;
    color: #666;
    font-size: 16px;
}

.profissao i, .formacao i, .lattes i {
    margin-right: 8px;
    color: #007bff;
}

.lattes a {
    color: #007bff;
    text-decoration: none;
}

.lattes a:hover {
    text-decoration: underline;
}

.curriculo-secao {
    margin-bottom: 30px;
}

.curriculo-secao h2 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 22px;
}

.curriculo-secao h2 i {
    margin-right: 10px;
    color: #007bff;
}

.descricao-formatada {
    line-height: 1.6;
    color: #444;
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.descricao-formatada h1,
.descricao-formatada h2,
.descricao-formatada h3,
.descricao-formatada h4,
.descricao-formatada h5,
.descricao-formatada h6 {
    color: #333;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.descricao-formatada h2 {
    font-size: 1.5em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.3em;
}

.descricao-formatada h3 {
    font-size: 1.3em;
}

.descricao-formatada h4 {
    font-size: 1.1em;
}

.descricao-formatada p {
    margin-bottom: 1em;
}

.descricao-formatada ul,
.descricao-formatada ol {
    padding-left: 2em;
    margin-bottom: 1em;
}

.descricao-formatada li {
    margin-bottom: 0.5em;
}

.descricao-formatada a {
    color: #007bff;
    text-decoration: none;
}

.descricao-formatada a:hover {
    text-decoration: underline;
}

.descricao-formatada blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1em;
    margin-left: 0;
    font-style: italic;
    color: #666;
    background: #f9f9f9;
    padding: 1em;
    border-radius: 0 4px 4px 0;
}

.descricao-formatada table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
    border: 1px solid #ddd;
}

.descricao-formatada table th,
.descricao-formatada table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.descricao-formatada table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.descricao-formatada img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

.descricao-formatada .text-align-left {
    text-align: left;
}

.descricao-formatada .text-align-center {
    text-align: center;
}

.descricao-formatada .text-align-right {
    text-align: right;
}

.descricao-formatada .text-align-justify {
    text-align: justify;
}

.texto-vazio {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Timeline para experiências */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 25px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
}

.timeline-content h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.empresa {
    color: #007bff;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.periodo {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.periodo i {
    margin-right: 5px;
}

/* Formações */
.formacoes-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formacao-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.formacao-item h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.instituicao {
    color: #007bff;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.detalhes {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.nivel {
    font-weight: 500;
}

.ano {
    color: #888;
}

/* Gestão seções */
.gestao-secao {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.gestao-secao h4 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 16px;
}

.gestao-secao h4 i {
    margin-right: 8px;
    color: #007bff;
}

.btn-adicionar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-adicionar:hover {
    background: #218838;
    color: white;
}

.file-upload {
    margin-top: 5px;
}
.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #c3c5c7ff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.file-upload-label:hover {
    background: #707f8fff;
}
.file-upload-label input {
    display: none;
}
.file-name {
    margin-left: 10px;
    color: #666;
    font-style: italic;
    font-size: 14px;
}
.preview-imagem {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}
.preview-imagem img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    display: block;
}

/* CKEditor custom */
.ck-editor__editable {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ck-editor__editable:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.ck-toolbar {
    border: 1px solid #ddd !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0 !important;
    background: #f8f9fa !important;
}

.ck-toolbar__separator {
    background-color: #dee2e6 !important;
}

/* Form controls */
.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.btn-publicar-agora {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    width: 100%;
    justify-content: center;
}

.btn-publicar-agora:hover {
    background: #0056b3;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsivo */
@media (max-width: 992px) {
    .curriculo-layout {
        grid-template-columns: 1fr;
    }
    
    .curriculo-header {
        flex-direction: column;
        text-align: center;
    }
    
    .curriculo-edicao {
        position: static;
        margin-top: 30px;
    }
    
    .ck-editor__editable {
        min-height: 250px;
        max-height: 400px;
    }
    
    .foto-perfil, .foto-placeholder {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .curriculo-visualizacao,
    .edicao-card {
        padding: 20px;
    }
    
    .ck-editor__editable {
        min-height: 200px;
        max-height: 350px;
    }
    
    .timeline {
        padding-left: 15px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
}
/* ===============================
   RESPONSIVO - MOBILE
================================ */
@media (max-width: 768px) {

    body.login-page {
        padding: 15px;
        height: auto;
    }

    .login-container {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
        border-radius: 12px;
    }

    .logo-area h1 {
        font-size: 22px;
    }

    .logo-area p {
        font-size: 14px;
    }

    .form-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
        font-size: 15px;
        padding: 10px;
    }

    .form-group label {
        font-size: 14px;
    }

    .input-with-icon input {
        font-size: 16px;
        padding: 12px 12px 12px 40px;
    }

    .input-with-icon i {
        left: 12px;
        font-size: 16px;
    }

    .password-toggle {
        right: 10px;
    }

    .btn-login,
    .btn-cadastrar,
    .btn-recuperar {
        font-size: 16px;
        padding: 14px;
    }

    .form-links {
        text-align: center;
        font-size: 14px;
    }

    .back-to-site a {
        font-size: 14px;
    }
}
/* ===== CORREÇÃO GERAL DE LISTAS DO TEMPLATE ===== */
.team-modern-card ul,
.team-modern-card li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* ===== CARD MODERNO ===== */
.team-modern-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* imagem */
.team-modern-img {
  width: 100%;
  height: 220px;
  background: #f2f2f2;
  overflow: hidden;
}

.team-modern-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* conteúdo */
.team-modern-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* textos */
.team-modern-category {
  font-size: 11px;
  font-weight: 600;
  color: #f4c542;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-modern-title {
  font-size: 18px;
  font-weight: 600;
  color: #0a2a43;
  margin-bottom: 6px;
}

.team-modern-meta {
  font-size: 13px;
  color: #6f6f6f;
  margin-bottom: 10px;
}

.team-modern-desc {
  font-size: 13.5px;
  color: #444;
  line-height: 1.45;
  margin-bottom: auto;
}

/* link */
.team-modern-link {
  font-size: 13px;
  font-weight: 600;
  color: #0056b3;
  text-decoration: none;
  margin-top: 12px;
}

.team-modern-link:hover {
  text-decoration: underline;
}

