/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
}

.hidden {
    display: none !important;
}

/* Login Container */
.login-container {
    background-color: white;
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.login-header h2 {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: normal;
}

/* Formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 10px;
    color: #3498db;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

/* Validação de formulário */
input:invalid {
    border-color: #e74c3c;
}

input:valid {
    border-color: #2ecc71;
}

/* Botões */
.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login i {
    margin-right: 8px;
}

.btn-login:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #f5f7fa;
    color: #2c3e50;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: #eaeaea;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-danger:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.btn-action {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    margin: 0 5px;
    font-size: 1rem;
    transition: color 0.2s;
}

.btn-action:hover {
    color: #3498db;
}

.btn-action.delete {
    color: #e74c3c;
}

.btn-action.delete:hover {
    color: #c0392b;
}

/* Mensagens */
.message {
    margin-top: 1.5rem;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    color: #e74c3c;
    background-color: #fdedec;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    background-color: #3c0c74;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
}

.menu-items {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-item a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item a.active {
    background-color: #4e2a79;
}

.menu-item a i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Logo no sidebar */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.logo {
    margin-top: 80px;
    max-height: 240%;
    max-width: 240%;
    object-fit: contain;
}

/* Logo Inicial */
.logoinicial-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.logoinicial {
    margin-bottom: 30px;
    max-height: 240%;
    max-width: 240%;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    background-color: #f9f9f9;
}

.welcome-message {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.welcome-message h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.welcome-message p {
    color: #7f8c8d;
    line-height: 1.6;
}

.content-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Gerenciamento de Usuários */
.user-management {
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.user-list-container {
    margin-top: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #2c3e50;
}

tr:hover {
    background-color: #f9f9f9;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

/* Estilos para perfil */
.profile-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 150px;
}

.info-item span {
    color: #7f8c8d;
    flex: 1;
}

.profile-info-vertical {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
    max-width: 600px;
}

.profile-info-vertical .info-item {
    padding: 1px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.profile-info-vertical .info-item label {
    font-weight: bold;
    color: #555;
    min-width: 150px;
}

.profile-info-vertical .info-item span {
    text-align: right;
    color: #333;
}

/* Filtros e Color Picker */
.filtros-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.filtros-container h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 1rem;
}

.filtros-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.filtro-info {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 1rem;
    font-style: italic;
}

.color-picker-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.color-picker-container h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.color-picker-container input[type="color"] {
    width: 100%;
    height: 40px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.sidebar-color-config .color-picker-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sidebar-color-config label {
    min-width: 120px;
    font-weight: 600;
    color: #555;
}

.sidebar-color-config input[type="color"] {
    width: 50px;
    height: 30px;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

/* Grade de Conteúdos */
.conteudos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.conteudo-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conteudo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.conteudo-img-container {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f9f9f9;
}

.conteudo-img-container::after {
    content: attr(data-watermark);
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.3);
}

.img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.protected-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.conteudo-img-container, .img-wrapper, .protected-image {
    -webkit-touch-callout: none;
    -webkit-context-menu: none;
    context-menu: none;
}

.conteudo-info {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.conteudo-tipo, .conteudo-categoria {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 600;
}

.conteudo-actions {
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #eee;
}

.conteudo-actions .btn-action {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.conteudo-actions .btn-action:hover {
    color: #3498db;
}

.conteudo-actions .btn-action i {
    font-size: 0.9rem;
}

/* Estilos para status */
.status-select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
}

.status-select option[value="ATIVO"] {
    background-color: #d4edda;
    color: #155724;
}

.status-select option[value="PENDENTE"] {
    background-color: #fff3cd;
    color: #856404;
}

.status-select option[value="BLOQUEADO"] {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.ativo {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.pendente {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.bloqueado {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.aberto {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.fechado {
    background-color: #2ecc71;
    color: white;
}

.status-badge.comissionado {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.cancelado {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.andamento {
    background-color: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.nao_certificado {
    background-color: #e67e22;
    color: white;
}

.status-badge.sem_producao {
    background-color: #95a5a6;
    color: white;
}

.status-badge.politica_interna {
    background-color: #8e44ad;
    color: white;
}

.role-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.role-badge.seller {
    background-color: #3498db;
    color: white;
}

.role-badge.user {
    background-color: #2ecc71;
    color: white;
}

.role-badge.manager {
    background-color: #9b59b6;
    color: white;
}

.role-badge.master {
    background-color: #e74c3c;
    color: white;
}

.role-badge.support {
    background-color: #f39c12;
    color: white;
}

/* Estilos para botões de configuração */
.config-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.config-btn {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.config-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.config-btn i {
    font-size: 20px;
}

/* Estilos para página de registro */
.price {
    font-size: 24px;
    font-weight: bold;
    color: #2ecc71;
    margin: 10px 0;
}

.service-info {
    margin-bottom: 20px;
    color: #555;
    text-align: center;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: #777;
}

.login-footer a {
    color: #3498db;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.forgot-password-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-password-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password-link a:hover {
    color: #333;
    text-decoration: underline;
}

.forgot-password-link i {
    margin-right: 5px;
}

/* Text options */
.text-options-container {
    margin-bottom: 20px;
}

.text-style-container {
    margin-top: 20px;
}

.text-style-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.text-option {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.text-option label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.text-option select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.text-option input[type="color"] {
    width: 100%;
    height: 35px;
    cursor: pointer;
}

/* First Access Message */
#firstAccessMessage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.first-access-modal {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.first-access-modal h3 {
    margin-top: 0;
    color: #2c3e50;
}

.first-access-modal ul {
    margin: 15px 0;
    padding-left: 20px;
}

.first-access-modal button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}

.first-access-modal button:hover {
    background-color: #2980b9;
}

/* Estilos para a seção de Apoio */
.file-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.file-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease;
}

.file-card:hover {
    transform: translateY(-5px);
}

.file-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.file-card .pdf-icon {
    font-size: 100px;
    color: #e74c3c;
    text-align: center;
    display: block;
    margin: 10px auto;
}

.file-card h3 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #333;
}

.file-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.file-actions {
    display: flex;
    justify-content: space-between;
}

.file-actions button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.file-actions .download-btn {
    background: #3498db;
    color: white;
}

.file-actions .delete-btn {
    background: #e74c3c;
    color: white;
}

/* FAQ Styles */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h3 {
    margin-top: 0;
    color: #2c3e50;
}

.faq-item p {
    margin-bottom: 10px;
}

.faq-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.faq-actions button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-faq {
    background: #3498db;
    color: white;
}

.delete-faq {
    background: #e74c3c;
    color: white;
}

/* Bancos Styles */
.banco-list {
    margin-top: 20px;
}

.banco-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banco-item h3 {
    margin-top: 0;
    color: #2c3e50;
}

.banco-item p {
    margin-bottom: 10px;
}

.banco-item a {
    color: #3498db;
    word-break: break-all;
}

.banco-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.banco-actions button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-banco {
    background: #3498db;
    color: white;
}

.delete-banco {
    background: #e74c3c;
    color: white;
}

/* Password cell */
.password-cell {
    font-family: monospace;
    position: relative;
    cursor: default;
}

.password-mask {
    letter-spacing: 2px;
}

.password-value {
    font-weight: bold;
    display: none;
}

.password-cell.visible {
    letter-spacing: normal;
    color: #2c3e50;
    font-weight: bold;
}

/* Estilos para a seção de Tabelas */
.header-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

.actions {
    white-space: nowrap;
    display: flex;
    gap: 5px;
}

.btn-icon {
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-icon.edit-saida {
    background-color: #f39c12;
    color: white;
}

.btn-icon.delete-saida {
    background-color: #e74c3c;
    color: white;
}

.btn-icon:hover {
    opacity: 0.8;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal:not(.hidden) {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-form {
    z-index: 1001;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

body.modal-open {
    overflow: hidden;
}

/* Estilos para a seção de Chamados */
.chamado-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.chamado-item.aberto {
    border-left-color: #e74c3c;
}

.chamado-item.fechado {
    border-left-color: #2ecc71;
}

.chamado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.chamado-meta {
    font-size: 0.9em;
    color: #666;
}

.chamado-meta span {
    display: block;
    margin-bottom: 5px;
}

.chamado-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.chamado-actions button {
    padding: 5px 10px;
    font-size: 0.9em;
}

/* Estilos para a seção de Digitação */
.digitacao-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.digitacao-item.aberto {
    border-left-color: #e74c3c;
}

.digitacao-item.fechado {
    border-left-color: #2ecc71;
}

.digitacao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.digitacao-meta {
    font-size: 0.9em;
    color: #666;
}

.digitacao-meta span {
    display: block;
    margin-bottom: 5px;
}

.digitacao-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.digitacao-actions button {
    padding: 5px 10px;
    font-size: 0.9em;
}

/* Estilos para a seção de Vendas */
.vendas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.venda-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease;
}

.venda-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.venda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.venda-contrato {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.venda-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-verde {
    background-color: #d4edda;
    color: #155724;
}

.status-vermelho {
    background-color: #f8d7da;
    color: #721c24;
}

.status-amarelo {
    background-color: #fff3cd;
    color: #856404;
}

.venda-body p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #555;
}

.venda-body strong {
    color: #333;
}

.venda-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.venda-actions button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.venda-actions button i {
    font-size: 0.8rem;
}

.comissoes {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.comissoes p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.status-actions {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.status-btn {
    padding: 3px 8px;
    font-size: 0.8rem;
}

.comissionado-btn {
    background-color: #28a745;
    color: white;
}

.cancelado-btn {
    background-color: #dc3545;
    color: white;
}

/* Estilos para as métricas do dashboard */
.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.2;
    word-break: break-word;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.metric-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 5px;
    text-align: center;
}

.metric-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: rgba(44, 62, 80, 0.1);
}

.metric-card:nth-child(1) { border-left: 4px solid #2ecc71; }
.metric-card:nth-child(2) { border-left: 4px solid #e74c3c; }
.metric-card:nth-child(3) { border-left: 4px solid #3498db; }
.metric-card:nth-child(4) { border-left: 4px solid #f39c12; }

/* Logo Upload Styles */
.logo-upload-container {
    margin-top: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-upload-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.logo-upload-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.current-logo {
    margin: 1rem 0;
    padding: 10px;
    background: #f5f7fa;
    border-radius: 5px;
    display: inline-block;
}

.current-logo img {
    max-width: 200px;
    max-height: 100px;
    display: block;
}

.upload-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.upload-status.success {
    color: #2ecc71;
}

.upload-status.error {
    color: #e74c3c;
}

/* Estilos para o filtro de busca */
.search-filter {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-filter .form-group {
    flex: 1;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-filter label {
    margin-right: 10px;
    white-space: nowrap;
}

.search-filter input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#searchCpfBtn, #clearSearchBtn {
    padding: 8px 15px;
    white-space: nowrap;
}

/* Estilos para recuperação de senha */
.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f5f5f5;
}

.auth-logo {
    margin-bottom: 30px;
    text-align: center;
}

.auth-logo img {
    max-width: 200px;
    height: auto;
}

.auth-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.auth-box p {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    color: #333;
}

.info-message {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-message i {
    color: #2196f3;
    font-size: 16px;
}

.info-message span {
    color: #1976d2;
    font-size: 14px;
}

.contract-section {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.contract-section h4 {
    margin-top: 0;
    color: #2c3e50;
}

.contract-preview {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.contract-actions {
    text-align: center;
}

.btn-action.view-contract {
    background-color: #2c3e50;
    color: white;
}

.btn-action.view-contract:hover {
    background-color: #1a252f;
}

/* CONTAINER PARA IMAGENS - ALTURA FIXA DE 500PX */
.aviso-image-only {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.aviso-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.avisos-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.aviso-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.aviso-item.active {
    opacity: 1;
    transform: translateY(0);
}

.mural-content {
    height: 500px;
    position: relative;
}

.image-preview {
    position: relative;
    max-width: 100%;
    height: 200px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    background: #f8f9fa;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.murais-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mural-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e1e8ed;
}

.mural-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.mural-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.mural-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

.btn-control {
    padding: 6px 12px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-control:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

.prev-btn, .next-btn {
    padding: 6px 8px;
    font-size: 10px;
}

.prev-btn:hover, .next-btn:hover {
    background: #3498db;
}

.aviso-indicator {
    display: flex;
    gap: 4px;
    margin: 0 8px;
}

.aviso-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bdc3c7;
    transition: background 0.3s;
}

.aviso-dot.active {
    background: #3498db;
    transform: scale(1.2);
}

.btn-control:disabled {
    background: #ecf0f1;
    color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.btn-control:disabled:hover {
    background: #ecf0f1;
    transform: none;
}

.aviso-text {
    font-size: 16px;
    line-height: 1.4;
    color: #2c3e50;
    margin: 0;
    width: 100%;
}

.aviso-item-editor {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.aviso-item-editor h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
}

.aviso-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.aviso-type-selector label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.aviso-type-selector input[type="radio"] {
    margin: 0;
}

.aviso-text-container textarea {
    width: 100%;
    resize: vertical;
    min-height: 80px;
}

.image-upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.image-upload-area:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.upload-placeholder {
    color: #7f8c8d;
}

.upload-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.upload-placeholder p {
    margin: 5px 0;
    font-weight: 500;
}

.upload-placeholder small {
    color: #95a5a6;
}

.btn-remove-image {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-remove-image:hover {
    background: #c0392b;
}

.char-count {
    display: block;
    text-align: right;
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 5px;
}

.mural-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estilos para bancos */
.banco-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.banco-item.active {
    border-left: 4px solid #2ecc71;
}

.banco-item.inactive {
    border-left: 4px solid #95a5a6;
    background-color: #f8f9fa;
    opacity: 0.7;
}

.banco-item.inactive .banco-info h3 {
    color: #7f8c8d;
}

.banco-item.inactive .banco-info a {
    color: #7f8c8d;
}

.banco-info {
    flex: 1;
}

.banco-info h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.banco-info p {
    margin: 5px 0;
    font-size: 14px;
}

.drag-handle {
    cursor: move;
    padding: 10px;
    color: #7f8c8d;
    margin-right: 10px;
}

.drag-handle:hover {
    color: #3498db;
}

/* Para usuários não-master */
.banco-item:not(.active) {
    cursor: not-allowed;
}

.banco-item:not(.active) .banco-info a {
    pointer-events: none;
}

.comissoes-produto-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.produto-comissao-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.produto-comissao-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.produto-comissao-header h4 {
    margin: 0;
    color: #333;
}

.produto-comissao-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.produto-comissao-form .form-group {
    flex: 1;
}

.produto-comissao-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.produto-comissao-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.salvar-comissao-produto {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.salvar-comissao-produto:hover {
    background: #0056b3;
}

/* Estilos para o modal de novo login */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 40px;
    width: 100%;
}

.toggle-password {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.toggle-password:hover {
    color: #333;
}

/* Botão de novo login na lista */
#novoLoginBtn {
    margin-left: 10px;
}

/* Botão no modal de edição */
#novoLoginBtnModal {
    margin-right: 10px;
}

/* Estilos para o ranking */
.ranking-summary {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.summary-card {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.summary-value {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
    color: #2c3e50;
}

.summary-label {
    font-size: 14px;
    color: #7f8c8d;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ranking-table thead {
    background-color: #2c3e50;
    color: white;
}

.ranking-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.ranking-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.ranking-row:hover {
    background-color: #f9f9f9;
}

.first-place {
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107;
}

.second-place {
    background-color: #f8f9fa !important;
    border-left: 4px solid #6c757d;
}

.third-place {
    background-color: #f5f5f5 !important;
    border-left: 4px solid #d39e00;
}

.posicao-col {
    width: 80px;
}

.posicao-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #3498db;
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    min-width: 40px;
}

.usuario-col {
    width: 150px;
}

.nome-col {
    width: 200px;
}

.tipo-col {
    width: 120px;
}

.vendas-col {
    width: 100px;
    text-align: center;
}

.valor-col, .comissao-col, .media-col {
    width: 150px;
    text-align: right;
}

.valor-destaque, .comissao-destaque {
    font-weight: bold;
    color: #27ae60;
}

.ranking-search-filter {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.no-results i {
    margin-bottom: 15px;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #3498db;
}

/* Progress bar styles */
.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin: 10px 0;
    height: 20px;
    overflow: hidden;
}

.progress-bar .progress {
    height: 100%;
    background-color: #3498db;
    width: 0%;
    transition: width 0.3s ease;
}

/* Modal import */
#importProgress {
    margin-top: 20px;
    text-align: center;
}

#importProgress p {
    margin-top: 5px;
    font-size: 14px;
}

/* Link para download do modelo */
small a {
    color: #3498db;
    text-decoration: none;
}

small a:hover {
    text-decoration: underline;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.pagination-controls button {
    padding: 8px 15px;
    min-width: 100px;
}

#pageInfo {
    font-weight: bold;
    color: #333;
}

.filter-row1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    width: 100%;
}

.search-filter1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group1 {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.advanced-filter {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.advanced-filter .filter-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.advanced-filter .form-group {
    flex: 1;
}

.advanced-filter label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.advanced-filter select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.metrics-chart-container {
    margin-top: 30px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.metrics-chart-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Estilos para a seção contábil */
.contabil-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: end;
}

.contabil-filters .form-group {
    margin-bottom: 0;
}

.contabil-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.contabil-table th,
.contabil-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.contabil-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.no-data {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

/* Estilos para as tabs */
.contabil-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.tab-btn:hover {
    color: #2980b9;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Garantir que as tabs só sejam visíveis na seção contábil */
.content-section:not(#contabilContent) .tabs-container,
.content-section:not(#contabilContent) .tab-content {
    display: none !important;
}

/* Garantir que as tabs da contábil sejam mostradas corretamente */
#contabilContent .tabs-container,
#contabilContent .tab-content.active {
    display: block !important;
}

#contabilContent .tab-content:not(.active) {
    display: none !important;
}

/* Estilos para o formulário de reapresentar proposta */
#reapresentarPropostaModal h4 {
    margin: 15px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    color: #333;
}

#reapresentarPropostaModal .form-group {
    margin-bottom: 15px;
}

/* Estilos para a seção de vendedores */
.vendedores-list-container {
    margin-top: 20px;
}

/* Estilos para o formulário de vendedor */
#vendedorFormContainer {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#vendedorFormContainer h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.login-filters .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.login-filters .form-group {
    flex: 1;
    min-width: 200px;
}

.login-filters select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Estilo para select desabilitado */
select:disabled {
    opacity: 0.8;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.hidden-filter {
    display: none !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        width: 250px;
        height: 100vh;
        transition: left 0.3s ease;
        z-index: 1000;
        background-color: #3c0c74;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
    
    .sidebar {
        scrollbar-width: none;
    }
    
    .menu-toggle {
        display: block;
        position: fixed;
        left: 10px;
        top: 10px;
        z-index: 1001;
        background-color: #2c3e50;
        padding: 10px;
        border-radius: 5px;
        color: white;
        border: none;
        cursor: pointer;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 60px;
    }
    
    .metrics-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .metric-value {
        font-size: 1.3rem;
    }
    
    .murais-container {
        grid-template-columns: 1fr;
    }
    
    .mural-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .mural-controls {
        width: 100%;
        justify-content: flex-end;
    }
    
    .aviso-image-only {
        height: 400px;
    }
    
    .avisos-container {
        height: 400px;
    }
    
    .mural-content {
        height: 400px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .metrics-container {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        min-height: 80px;
    }
    
    .aviso-image-only {
        height: 300px;
    }
    
    .avisos-container {
        height: 300px;
    }
    
    .mural-content {
        height: 300px;
    }
}

.documentos-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.documentos-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.documento-item {
    background: white;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.documento-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.documento-imagem {
    text-align: center;
}

.documento-imagem img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.documento-imagem img:hover {
    opacity: 0.9;
}

.documento-imagem p {
    margin: 10px 0 5px;
    font-weight: 600;
    color: #333;
}

.documento-pdf {
    text-align: center;
}

.pdf-icon {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.documento-pdf p {
    margin: 10px 0;
    font-weight: 600;
    color: #333;
}

.documento-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-view-documento, .btn-download-documento {
    padding: 5px 10px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.2s;
}

.btn-view-documento:hover, .btn-download-documento:hover {
    background-color: #2980b9;
    color: white;
}

.btn-download-documento {
    background-color: #2ecc71;
}

.btn-download-documento:hover {
    background-color: #27ae60;
}

.no-documents, .documents-error {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}

.imagem-modal {
    background-color: rgba(0,0,0,0.9);
}

.imagem-content {
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagem-content .close-modal {
    color: white;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
}

/* Estilos para o editor de contrato */
.editor-toolbar {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preview-area {
    margin-top: 15px;
    padding: 15px;
    border: 1px dashed #ccc;
    background: #f9f9f9;
    border-radius: 4px;
}

.modal-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin-top: 0;
}

.modal-header p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Estilos para a seção de comunicação */

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 5px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checkbox-group small {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Seção de seleção de usuários */
.user-selection-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.user-selection-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.selected-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.selected-count i {
    color: #28a745;
}

.selected-users-container {
    margin-bottom: 20px;
}

.selected-users-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
}

.selected-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}

.selected-user-item:last-child {
    border-bottom: none;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details strong {
    font-size: 14px;
    margin-bottom: 2px;
}

.user-details small {
    font-size: 12px;
    color: #6c757d;
}

.remove-user-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.remove-user-btn:hover {
    background: #f8d7da;
}

.no-selection {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

.selected-users-preview {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.selection-preview {
    background: white;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 13px;
}

.preview-list li:last-child {
    border-bottom: none;
    font-style: italic;
    color: #6c757d;
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.btn-small:hover {
    background: #5a6268;
}

/* Modal de seleção de usuários */
.modal-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-box input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    width: 300px;
}

.selection-info {
    padding: 6px 12px;
    background: #e9ecef;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.users-list-container {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0;
    max-height: 400px;
    overflow-y: auto;
}

.users-checkbox-container {
    padding: 15px;
}

.user-checkbox-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.user-checkbox-item:last-child {
    border-bottom: none;
}

.user-checkbox-item:hover {
    background: #f8f9fa;
}

.user-checkbox-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
}

.user-checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.user-info strong {
    font-size: 14px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info small {
    font-size: 12px;
    color: #6c757d;
}

.user-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.user-status-badge.ativo {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.user-status-badge.desconhecido,
.user-status-badge.inativo {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading-users,
.no-users {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

/* Preview do email */
.preview-container {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 60vh;
    overflow-y: auto;
}

.email-preview {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.email-header {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.email-header h4 {
    margin: 0 0 15px 0;
    color: #007bff;
}

.email-header p {
    margin: 5px 0;
    font-size: 14px;
    color: #495057;
}

.email-body {
    padding: 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 20px;
}

.email-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 13px;
    font-style: italic;
}

/* Alertas */
.email-alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsividade */
@media (max-width: 768px) {
    .user-selection-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .selected-count {
        align-self: flex-start;
    }
    
    .modal-header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
}

/* Estilos para o novo sistema de seleção de tipo */
.tipo-chamado-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tipo-chamado-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tipo-chamado-btn:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.tipo-chamado-btn i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #3498db;
}

.tipo-chamado-btn span {
    font-weight: 600;
    color: #333;
}

/* Badge para tipo de chamado na lista */
.tipo-chamado-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.tipo-chamado-badge.solicitar-login {
    background-color: #e3f2fd;
    border-color: #bbdefb;
    color: #1565c0;
}

.tipo-chamado-badge.reset-senha {
    background-color: #fff3e0;
    border-color: #ffe0b2;
    color: #ef6c00;
}

.tipo-chamado-badge.reapresentar-proposta,
.tipo-chamado-badge.reapresentacao-proposta {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.tipo-chamado-badge.financeiro {
    background-color: #f3e5f5;
    border-color: #e1bee7;
    color: #7b1fa2;
}

.tipo-chamado-badge.geral {
    background-color: #e0f7fa;
    border-color: #b2ebf2;
    color: #006064;
}

/* Filtro de tipo para master */
#chamadoTipoFilter {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* ===== ESTILOS PARA PARCERIAS ===== */
.parcerias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.parceria-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.parceria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.parceria-image {
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parceria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parceria-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

.parceria-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.parceria-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.parceria-site,
.parceria-cupom {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.parceria-site a {
    color: #007bff;
    text-decoration: none;
}

.parceria-site a:hover {
    text-decoration: underline;
}

.parceria-cupom strong {
    color: #28a745;
}

.parceria-descricao {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    flex: 1;
}

.parceria-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.parceria-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-edit {
    background-color: #007bff;
    color: white;
}

.btn-edit:hover {
    background-color: #0056b3;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-delete:hover {
    background-color: #c82333;
}

/* ===== ESTILOS PARA TREINAMENTOS ===== */
.treinamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.treinamento-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.treinamento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.treinamento-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

.treinamento-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.treinamento-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.treinamento-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.treinamento-descricao {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    flex: 1;
}

.treinamento-data {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    color: #999;
}

.treinamento-data i {
    margin-right: 5px;
}

.treinamento-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.treinamento-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

/* ===== MODAIS ===== */
.modal .form-group {
    margin-bottom: 20px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.modal .form-group input[type="text"],
.modal .form-group input[type="url"],
.modal .form-group textarea,
.modal .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.modal .form-group input:focus,
.modal .form-group textarea:focus,
.modal .form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.modal .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.modal .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Upload de imagem */
.image-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    background: #f9f9f9;
}

.image-upload-area:hover {
    border-color: #007bff;
}

.upload-placeholder i {
    font-size: 48px;
    color: #999;
    margin-bottom: 10px;
}

.upload-placeholder p {
    margin: 5px 0;
    color: #666;
}

.upload-placeholder small {
    color: #999;
}

.image-preview {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
}

.btn-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-remove-image:hover {
    background: rgba(255, 0, 0, 1);
}

/* Preview de vídeo */
.video-preview-container {
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #f9f9f9;
}

.video-preview-container h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #333;
}

.video-preview {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Botões */
.btn-small {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-small:hover {
    background-color: #5a6268;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.empty-state h3 {
    margin: 15px 0 10px;
    color: #333;
}

.empty-state p {
    color: #999;
}

/* Responsividade */
@media (max-width: 768px) {
    .parcerias-grid,
    .treinamentos-grid {
        grid-template-columns: 1fr;
    }
    
    .modal .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Estilos para a seção de Divulgação */
.artes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.arte-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.arte-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.arte-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.arte-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arte-tipo {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.arte-tipo.stories {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.arte-tipo.feed {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.arte-info {
    padding: 15px;
    flex: 1;
}

.arte-nome {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.arte-produto {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
}

.arte-descricao {
    margin: 0;
    font-size: 13px;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arte-actions {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    justify-content: space-around;
}

.btn-action {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    border-radius: 4px;
}

.btn-action:hover {
    background: #f5f5f5;
}

.btn-action.view-arte:hover {
    color: #3498db;
}

.btn-action.download-arte:hover {
    color: #27ae60;
}

.btn-action.edit-arte:hover {
    color: #f39c12;
}

.btn-action.delete-arte:hover {
    color: #e74c3c;
}

/* Modal de visualização */
.view-arte-container {
    padding: 20px;
}

.view-arte-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin: 20px 0;
    text-align: center;
}

.view-arte-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.view-arte-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.view-arte-details p {
    margin: 10px 0;
}

.view-arte-actions {
    text-align: center;
}

/* Loading e estados vazios */
.loading-artes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.no-artes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

/* Filtros */
.divulgacao-filters {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .artes-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-row .form-group {
        width: 100%;
    }
}

/* Estilos para upload de documentos no modal de usuário */
.documents-section {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.documents-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.documents-section h5 {
    margin: 15px 0 10px;
    color: #555;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.document-item {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.3s;
}

.document-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.document-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
}

.document-link i {
    font-size: 24px;
    color: #007bff;
}

.document-link i.fa-file-pdf {
    color: #dc3545;
}

.document-link span {
    font-size: 14px;
    word-break: break-word;
}

.btn-delete-document {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.btn-delete-document:hover {
    opacity: 1;
}

.upload-section {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.upload-item {
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.upload-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.upload-item input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.upload-progress {
    margin-top: 10px;
}

.upload-progress .progress-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.upload-progress .progress {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00bfff);
    transition: width 0.3s;
}

.no-documents {
    color: #666;
    font-style: italic;
    padding: 10px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 5px;
}

.hidden {
    display: none;
}