/* Definição das variáveis de cor */
:root {
    --gradient-blue: linear-gradient(135deg, #B5E0F7, #7FB2E7);
    --konectomi-purple: #82389C;
    --gradient-green: linear-gradient(135deg, #00F41C, #2DB796);
    --base-white: #FFFBFF;
    --text-color: #333;
    --error-color: #d9534f;
}

/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--base-white);
    color: var(--text-color);
}

/* Estilos da Página de Login */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--gradient-blue);
}

.login-container {
    background: var(--base-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

.login-logo {
    width: 80px;
    margin-bottom: 1rem;
}

.login-container h1 {
    color: var(--konectomi-purple);
    margin-bottom: 0.5rem;
}

.login-container p {
    margin-bottom: 2rem;
    color: #666;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--konectomi-purple);
    box-shadow: 0 0 0 2px rgba(130, 56, 156, 0.2);
}

.btn-login {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    background: var(--gradient-green);
    color: var(--base-white);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: scale(1.02);
}

.error-message {
    background-color: rgba(217, 83, 79, 0.1);
    color: var(--error-color);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid var(--error-color);
}



/* public/css/style.css (adicione este conteúdo) */

/* Estilos Globais do Painel */
body.dashboard {
    display: flex;
    background-color: #f4f7fa;
}

.sidebar {
    width: 260px;
    background: var(--konectomi-purple);
    color: var(--base-white);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem 0;
    z-index: 1000;
}

.sidebar-header {
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.sidebar-header .logo {
    width: 60px;
    margin-bottom: 0.5rem;
}

.sidebar-header h2 {
    font-size: 1.2rem;
}

.nav-menu {
    list-style: none;
    flex-grow: 1;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--base-white);
    text-decoration: none;
    transition: background 0.2s;
    gap: 1rem;
}

.nav-menu img.icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.nav-menu a:hover, .nav-menu li.active a {
    background: rgba(255, 255, 255, 0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    gap: 1rem;
}

.user-profile img.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile .user-info {
    flex-grow: 1;
}

.user-profile .user-info span {
    display: block;
}

.user-profile .user-info .name {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-profile .user-info .role {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: capitalize;
}

/* Conteúdo Principal */
.main-content {
    margin-left: 260px; /* Mesma largura da sidebar */
    width: calc(100% - 260px);
    padding: 2rem;
}

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

.content-header h1 {
    color: var(--konectomi-purple);
}

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--base-white);
}

.btn-secondary {
    background: #6c757d;
    color: var(--base-white);
}

.btn-danger {
    background: #d9534f;
    color: var(--base-white);
}

.btn img.icon {
    width: 16px;
    height: 16px;
    filter: invert(1);
}

/* Tabelas */
.content-card {
    background: var(--base-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow-x: auto; /* Para rolagem em telas pequenas */
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 600px; /* Evita que a tabela quebre em telas muito pequenas */
}

.styled-table thead th {
    background: #f1f1f1;
    color: #555;
    text-align: left;
    padding: 0.8rem 1rem;
    font-weight: 600;
}

.styled-table tbody td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
}

.styled-table tbody tr:last-child td {
    border-bottom: none;
}

.styled-table .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.styled-table .actions form {
    display: inline;
}
.styled-table .actions button,
.styled-table .actions a {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* Formulários */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.form-actions {
    grid-column: 1 / -1; /* Ocupa todas as colunas */
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}


/* Responsividade */
.main-header-mobile {
    display: none; /* Escondido em telas grandes */
}
.sidebar .close-btn {
    display: none; /* Escondido em telas grandes */
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar .close-btn {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    .sidebar .close-btn .icon {
        width: 20px;
        height: 20px;
        filter: invert(1);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 5rem; /* Espaço para o cabeçalho fixo */
    }

    .main-header-mobile {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: var(--base-white);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .menu-btn {
        background: none;
        border: none;
        cursor: pointer;
    }
    .menu-btn .icon {
        width: 24px;
        height: 24px;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--konectomi-purple);
        font-weight: bold;
    }
    .mobile-logo img {
        width: 30px;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999; /* Fica abaixo do menu, mas acima do conteúdo */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}


@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
        padding-top: 5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
/* Estilo para link de logo na sidebar, para ficar alinhado */
.sidebar-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}
/* public/css/style.css (adicione este conteúdo) */

/* Estilos de Eventos */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: var(--base-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.event-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.event-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-card-type {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.event-card-type.treinamento {
    background-color: rgba(130, 56, 156, 0.1);
    color: var(--konectomi-purple);
}

.event-card-type.evento-no-jogo {
    background-color: rgba(45, 183, 150, 0.1);
    color: #2DB796;
}

.event-card-title {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    flex-grow: 1;
}

.event-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.event-card-date .icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Detalhes do Evento */
.event-details-banner {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.event-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}
.info-item .icon {
    width: 16px;
    height: 16px;
}
.info-item span {
    padding-left: 24px; /* Alinha com o texto do strong */
}
.info-item a {
    color: var(--konectomi-purple);
    text-decoration: none;
    word-break: break-all;
}

.event-additional-info {
    margin-bottom: 2rem;
}
.event-additional-info h3 {
    margin-bottom: 0.5rem;
}

.event-attendance .btn.active {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    transform: none;
}
.attendance-buttons {
    display: flex;
    gap: 1rem;
}

/* Modal de Justificativa */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-content {
    background: var(--base-white);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* public/css/style.css (adicione este conteúdo) */

/* Alertas e Mensagens Flash */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border: 1px solid transparent;
}
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}
.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Tabela de Presença */
.styled-table input[type="text"],
.styled-table select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.styled-table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.mb-2 {
    margin-bottom: 1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.badge-success { background-color: #198754; }
.badge-danger { background-color: #dc3545; }
.badge-info { background-color: #0dcaf0; color: #000; }

/* Ações no cabeçalho dos detalhes do evento */
.event-details-header .header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
/* public/css/style.css (adicione este conteúdo) */

/* Layout de página centralizada */
.full-page-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--gradient-blue);
    padding: 1rem;
}
.card-center {
    background: var(--base-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 500px;
}
.card-center h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--konectomi-purple);
    margin-bottom: 1rem;
}
.icon-title {
    width: 28px;
    height: 28px;
    filter: invert(24%) sepia(53%) saturate(1483%) hue-rotate(258deg) brightness(88%) contrast(92%);
}
.warning-details {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}
.warning-details p {
    margin-bottom: 0.5rem;
}
.btn-full-width {
    width: 100%;
}

/* Estilos de Meu Perfil */
.profile-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.role-capitalize {
    text-transform: capitalize;
}
hr.my-2 {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* Ajustes no Perfil da Navbar */
.user-profile {
    align-items: stretch; /* Faz os filhos ocuparem a altura total */
}
a.profile-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    flex-grow: 1;
    text-decoration: none;
    color: var(--base-white);
    border-radius: 8px;
    margin-right: 0.5rem;
}
a.profile-link.active,
a.profile-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
a.logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

/* public/css/style.css (adicione este conteúdo no final) */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-list li {
    margin-bottom: 0.75rem;
}

.simple-list li a {
    text-decoration: none;
    color: var(--konectomi-purple);
    font-weight: 500;
    transition: color 0.2s;
}

.simple-list li a:hover {
    color: #5a226d;
    text-decoration: underline;
}

/* public/css/style.css (adicione este conteúdo no final) */

.badge-warning { background-color: #ffc107; color: #000; }

.public-form {
    text-align: left;
    margin-top: 2rem;
}

.public-form .form-group {
    margin-bottom: 1.5rem;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.form-group-checkbox label {
    margin: 0;
}
.form-group-checkbox input {
    width: auto;
}
.form-group-checkbox a {
    color: var(--konectomi-purple);
}

/* Adicione no final de public/css/style.css */

.alert-success .icon-title {
    filter: invert(32%) sepia(33%) saturate(1352%) hue-rotate(95deg) brightness(94%) contrast(92%);
}

/* public/css/style.css (adicione no final) */

pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-left: 3px solid var(--konectomi-purple);
    color: #666;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word;
    border-radius: 4px;
}
.nav-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0.5rem 1.5rem;
}

/* Estilos de Avisos */
.notices-section { margin-top: 2rem; }
.notice-form-container { margin-bottom: 2rem; padding: 1.5rem; }
.notice-form-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.notice-card {
    border-left-width: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    position: relative;
}
.alert-info { color: #055160; background-color: #cff4fc; border-color: #9eeaf9; }
.alert-warning { color: #664d03; background-color: #fff3cd; border-color: #ffecb5; }
.notice-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.delete-notice-form button {
    position: absolute; top: 0.5rem; right: 0.5rem;
    background: transparent; border: none; font-size: 1.5rem;
    color: inherit; opacity: 0.4; cursor: pointer;
}
.delete-notice-form button:hover { opacity: 1; }

/* public/css/style.css (adicione no final) */

/* Estilos do Fórum */
.forum-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.forum-post-card {
    background: var(--base-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.forum-post-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-author-info {
    flex-shrink: 0;
    text-align: center;
}

.profile-pic-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.author-details .author-name {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
}

.author-details .post-date {
    font-size: 0.8rem;
    color: #666;
}

.post-content {
    flex-grow: 1;
}

a.post-title-link {
    text-decoration: none;
    color: var(--konectomi-purple);
}
a.post-title-link:hover h3 {
    text-decoration: underline;
}

.post-tags {
    margin: 0.5rem 0 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #eee;
    color: #555;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-stats .icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* public/css/style.css (adicione no final) */

.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Página de Detalhes do Post */
.post-detail-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.post-main-content h1 {
    color: var(--konectomi-purple);
    margin-bottom: 1rem;
}
.post-body-content {
    line-height: 1.6;
    font-size: 1.05rem;
}
.post-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.post-actions {
    display: flex;
    gap: 1rem;
}
.btn-like.liked {
    background: var(--gradient-blue);
    color: #fff;
}
.btn-like.liked .icon {
    filter: invert(1);
}

/* Seção de Anexos */
.attachments-section h4 {
    margin-bottom: 1rem;
}
.attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.attachment-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
}
.attachment-video video {
    max-width: 100%;
    width: 500px;
    border-radius: 8px;
}
.attachment-list {
    list-style: none;
    padding: 0;
}
.attachment-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--konectomi-purple);
    margin-bottom: 0.5rem;
}

/* Seção de Comentários */
.comments-section h3 {
    margin-bottom: 1.5rem;
}
.comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.comments-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.comment-card {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}
.comment-card:last-child {
    border-bottom: none;
}
.comment-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.profile-pic-tiny {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}
.comment-text {
    padding-left: calc(35px + 0.75rem); /* Alinha o texto com o nome do autor */
}


/* public/css/style.css (adicione no final) */

/* Menu de Ações (Dropdown) */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 6px;
    overflow: hidden;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu a, .dropdown-menu button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background-color: #f1f1f1; }
.dropdown-item-danger:hover { background-color: #f8d7da; color: #842029; }
.comment-actions { margin-left: auto; }
.dropdown-toggle-simple { background: none; border: none; font-size: 1.2rem; cursor: pointer; padding: 0 0.5rem; }

/* Página de Denúncias */
.report-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.reported-content blockquote {
    background: #f8f9fa;
    border-left: 5px solid #ccc;
    margin: 1rem 0;
    padding: 1rem;
}
.report-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}
a.warning-link {
    color: #ffc107 !important;
}
a.warning-link:hover {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

/* public/css/style.css */

.notice-board {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.notice-item {
    padding: 2rem;
}
.notice-item h2 {
    color: var(--konectomi-purple);
    margin-bottom: 0.5rem;
}
.notice-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}
.notice-meta span + span::before {
    content: "•";
    margin: 0 0.5rem;
}
.notice-content-body {
    line-height: 1.6;
}
.notice-content-body img { /* Garante que imagens do editor sejam responsivas */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.notice-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: right;
}
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* public/css/style.css (adicione no final) */

.welcome-card {
    background: var(--gradient-blue);
    color: #fff;
    margin-bottom: 2rem;
}
.welcome-card h2 {
    color: #fff;
}
.welcome-card strong {
    font-weight: 600;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.dashboard-col-main, .dashboard-col-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
}
.dashboard-widget .widget-header .icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}
.dashboard-widget .widget-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}
.widget-empty-state {
    color: #666;
    font-style: italic;
}

/* Lista de Eventos no Widget */
.event-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
}
.event-list a:hover {
    background-color: #f8f9fa;
}
.event-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.event-title {
    font-weight: 600;
    color: var(--text-color);
}
.event-type-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
}
.event-type-badge.treinamento { background-color: rgba(130, 56, 156, 0.1); color: var(--konectomi-purple); }
.event-type-badge.evento-no-jogo { background-color: rgba(45, 183, 150, 0.1); color: #2DB796; }
.event-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Outras listas de widget */
.post-title, .post-meta { display: block; }
.post-meta { font-size: 0.8rem; color: #666; }
.notice-list-widget strong, .notice-list-widget small { display: block; }
.notice-list-widget small { color: #666; font-size: 0.8rem; }


/* Responsividade para o grid do dashboard */
@media (max-width: 992px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

/* public/css/style.css */

.nav-menu {
    list-style: none;
    flex-grow: 1;
    overflow-y: auto; /* ADICIONE ESTA LINHA */
}

/* public/css/style.css (adicione no final) */

.calendar-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
}
.calendar-header h2 {
    margin: 0;
    color: var(--konectomi-purple);
}
.calendar-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.weekday-name {
    font-weight: bold;
    text-align: center;
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}
.day-cell {
    border: 1px solid #eee;
    height: 90px;
    padding: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.day-cell:hover {
    background-color: #f8f9fa;
}
.day-cell.selected {
    border: 2px solid var(--konectomi-purple);
    background-color: #f0e8f3;
}
.marker-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}
.event-marker {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.event-marker.present { background-color: #198754; }
.event-marker.absent { background-color: #dc3545; }
.event-marker.partial { background-color: #f0d90d; }
.event-marker.pending { background-color: #6c757d; }

.calendar-legend {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; }
.legend-color { width: 15px; height: 15px; border-radius: 4px; }
.legend-item.present .legend-color { background-color: #198754; }
.legend-item.absent .legend-color { background-color: #dc3545; }
.legend-item.partial .legend-color { background-color: #f0d90d; }
.legend-item.pending .legend-color { background-color: #6c757d; }

.calendar-details {
    position: sticky;
    top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.details-placeholder { text-align: center; color: #666; }
.detail-event-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.detail-status {
    font-weight: bold;
    font-size: 0.9rem;
}
.detail-status.present { color: #198754; }
.detail-status.absent { color: #dc3545; }
.detail-status.partial { color: #f0d90d; }
.detail-status.pending { color: #6c757d; }

@media (max-width: 992px) {
    .calendar-container { grid-template-columns: 1fr; }
}

.event-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.duration-input-group {
    display: flex;
    gap: 0.5rem;
}
.duration-input-group input {
    flex-grow: 1;
}
.duration-input-group select {
    flex-basis: 100px;
}

.setup-steps {
    margin: 1.5rem 0 1.5rem 1.5rem;
}
.qr-code-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.qr-code-container p {
    margin-top: 1rem;
}
.qr-code-container code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.btn-copy {
    background: none; border: none; cursor: pointer;
    vertical-align: middle; padding: 0.2rem;
}
.btn-copy .icon { width: 16px; height: 16px; opacity: 0.6; }
.btn-copy:hover .icon { opacity: 1; }

.link-logout { display: block; text-align: center; margin-top: 1.5rem; color: #666; }
#dynamic-message-container {
    margin-bottom: 1rem;
}

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.game-card { position: relative; text-align: center; }
.game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; }
.btn-delete-game { position: absolute; top: 5px; right: 5px; background: rgba(220, 53, 69, 0.8); color: white; border: none; border-radius: 50%; width: 25px; height: 25px; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }











/* Enquetes */
.polls-container { display: flex; flex-direction: column; gap: 1.5rem; }
.poll-card h3 { color: var(--konectomi-purple); }
.poll-meta { color: #666; font-size: 0.85rem; margin-bottom: 1rem; display: block; }
.poll-form { margin-top: 1rem; }
.poll-options { display: flex; flex-direction: column; gap: 0.5rem; }
.poll-option { position: relative; }
.poll-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.poll-option label { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.poll-option input[type="radio"]:checked + label { background-color: #f0e8f3; border-color: var(--konectomi-purple); }
.poll-option label:hover { background-color: #f8f9fa; }

/* Grid para Votação de Jogo */
.game-options-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
.game-options-grid .poll-option label { flex-direction: column; justify-content: center; text-align: center; height: 100%; }
.game-option-image { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; }

/* Resultados da Enquete */
.poll-results { margin-top: 1rem; }
.result-bar-item { margin-bottom: 0.75rem; }
.result-label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.25rem; }
.progress-bar { background-color: #e9ecef; border-radius: 10px; height: 10px; }
.progress-bar-fill { height: 100%; background: var(--gradient-green); border-radius: 10px; }
.poll-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 0.5rem; }


/* Creditos */
.credit-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.credit-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.credit-section h3 {
    color: var(--konectomi-purple);
    margin-bottom: 0.5rem;
}
.credit-section p {
    line-height: 1.6;
}
.credit-section a {
    color: var(--konectomi-purple);
    text-decoration: none;
}
.credit-section a:hover {
    text-decoration: underline;
}


.nav-footer-links {
    padding: 0.5rem 1.5rem;
}
.nav-footer-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--base-white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.nav-footer-links a:hover {
    opacity: 1;
}


/* public/css/style.css */

/* Ícone de Ajuda e Tooltip */
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}
.icon-help {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}
.tooltip:hover .icon-help {
    opacity: 1;
}
/* O tooltip real (texto) é gerenciado pelo atributo 'title' do navegador. */

/* Links no Rodapé do Login */
.login-footer-links {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
.login-footer-links a {
    color: var(--konectomi-purple);
    text-decoration: none;
}
.login-footer-links a:hover {
    text-decoration: underline;
}
.login-footer-links span {
    margin: 0 0.5rem;
}

.link-logout-inline {
    color: #666; /* Mantém a cor discreta */
}



/* public/css/style.css (adicione ou modifique estas regras) */

/* Botão de Ajuda Interativo */
.btn-help {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    line-height: 1; /* Alinha o ícone com o texto */
}
.icon-help {
    width: 20px; /* Tamanho maior */
    height: 20px;
    opacity: 0.5; /* Opacidade para o ícone preto */
    transition: opacity 0.2s;
    /* Remove o filter: invert(1) se houver, para manter a cor preta */
}
.btn-help:hover .icon-help {
    opacity: 1;
}

/* Modal Overlay (Reutilizado da Leva 3 - pode já existir) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-content {
    background: var(--base-white);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center; /* Centraliza o conteúdo do modal */
}
.modal-content h2 {
    color: var(--konectomi-purple);
    margin-bottom: 1rem;
}
.modal-content p {
    line-height: 1.6;
    margin-bottom: 2rem;
}
.modal-actions {
    display: flex;
    justify-content: center; /* Centraliza o botão */
    gap: 1rem;
    margin-top: 1.5rem;
}

/* public/css/style.css (adicione no final) */

.form-action-buttons {
    display: flex;
    gap: 1rem; /* Espaçamento entre os botões */
}

.form-action-buttons .btn {
    flex-grow: 1; /* Faz os botões ocuparem o espaço disponível igualmente */
}


/* public/css/style.css (adicione este conteúdo no final) */

/* Estilos para o container do Captcha */
.captcha-container {
    margin-bottom: 1.5rem; /* Espaçamento entre o captcha e os botões */
    display: flex;
    justify-content: center; /* Centraliza o widget se o container for maior */
}

/* Estilos para o estado desabilitado do botão de login */
.btn-login:disabled {
    background: #ccc; /* Cor cinza para indicar inatividade */
    cursor: not-allowed; /* Cursor que indica que não pode ser clicado */
    transform: none; /* Remove o efeito de hover */
}

/* public/css/style.css (ADICIONE NO FINAL) */
.report-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--base-white);
}
.report-item blockquote {
    background: #f8f9fa;
    border-left: 5px solid #ccc;
    margin: 1rem 0;
    padding: 1rem;
    font-style: italic;
}
.report-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}