:root {
    --primary-color: #6a1b9a;
    /* Roxo vibrante */
    --secondary-color: #4a148c;
    /* Roxo mais escuro para header */
    --accent-color: #ffca28;
    /* Amarelo complementar para detalhes (basket) */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --spacing: 16px;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.site-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

.main-header h1 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Navegação */
.main-nav {
    display: none;
    /* Escondido por padrão no mobile */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    flex-direction: column;
}

.main-nav.open {
    display: flex;
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav a {
    display: block;
    padding: 15px var(--spacing);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary-color);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

/* Conteúdo Principal */
#app-content {
    padding: var(--spacing);
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    /* Faz o conteúdo ocupar o espaço restante */
}

/* Remove limitação de largura na página admin para tablets */
#admins {
    max-width: none;
    width: 100%;
}

.page-section {
    display: none;
    /* Esconde todas as seções */
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
    /* Mostra a seção ativa */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* Visão Geral */
/* Visão Geral (Centering) */
#visao-geral {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinha ao topo em vez de centrar */
    align-items: center;
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding-top: 5px;
    /* Reduzido para 5px */
}

.poster-container {
    text-align: center;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.responsive-poster {
    max-width: 100%;
    max-height: calc(100vh - 250px);
    /* Ajuste maior para caber títulos */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 1.2;
}



.event-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    /* Reduzido para aproximar da data */
    border-bottom: none;
    /* Remove a borda padrão do H2 */
    display: block;
}

.event-date {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Mobile - Ajustar tamanho de fonte */
@media (max-width: 480px) {

    .event-title,
    .event-date {
        font-size: 1.3rem !important;
    }
}

.dev-credits {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    font-weight: 500;
}

.location-link {
    display: inline-block;
    margin-top: 7.5px;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.location-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Location Card with Map Background */
.location-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 150px;
    margin: 15px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.9);
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
}

.location-link-card {
    display: inline-block;
    color: var(--white);
    background-color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 12px 24px;
    border: 2px solid var(--white);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.location-link-card:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .location-card {
        max-width: 100%;
        height: 120px;
    }

    .location-link-card {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Video Card */
.video-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 80px;
    margin: 5px auto 15px auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.video-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
    padding: 20px;
}

.play-icon {
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.video-card-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .video-card {
        max-width: 100%;
        height: 70px;
    }

    .play-icon {
        font-size: 2.5rem;
    }

    .video-card-text {
        font-size: 1rem;
    }

    .video-modal-content {
        width: 95%;
    }

    .close-modal {
        font-size: 30px;
        top: -35px;
    }
}

/* Cards e Listas (Genérico para Equipas/Jogos) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing);
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Desktop */
@media (min-width: 768px) {
    .main-nav {
        display: block;
        position: static;
        width: auto;
        background: none;
    }

    .main-nav ul {
        display: flex;
        gap: 20px;
    }

    .main-nav li {
        border: none;
    }

    .main-nav a {
        padding: 5px 10px;
        border-radius: 4px;
    }

    .menu-toggle {
        display: none;
    }

    .main-header h1 {
        font-size: 1.5rem;
    }
}

/* Estilos para Equipas */
/* Estilos para Equipas */
#equipas-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing);
}

/* Estilos para Jogos - usar mesmo layout que equipas */
#jogos-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing);
}

@media (max-width: 768px) {

    #equipas-list,
    #jogos-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Filtros de Jogos */
#jogos-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    flex: 1;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .filter-select {
        width: 100%;
        flex: none;
    }

    /* Athlete Cards - Match Team Card Style (Horizontal Layout) */
    .athlete-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: var(--spacing);
    }

    .athlete-card {
        background: var(--white);
        background-image: url('../back_equipas.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 8px;
        padding: 15px;
        box-shadow: var(--card-shadow);
        border: 1px solid #eee;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        transition: transform 0.2s;
    }

    .athlete-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .athlete-photo {
        flex-shrink: 0;
    }

    .athlete-photo img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .placeholder-photo {
        width: 80px;
        height: 80px;
        background: #eee;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        border: 3px solid var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .athlete-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .athlete-info h3 {
        margin: 0;
        font-size: 1.1rem;
        color: var(--text-color);
        font-weight: 700;
        line-height: 1.2;
    }

    .athlete-info p {
        margin: 0;
        color: #000;
        font-size: 0.9rem;
    }

    @media (max-width: 768px) {
        .athlete-list {
            grid-template-columns: 1fr;
            gap: 10px;
        }
    }
}


.equipa-card {
    background: var(--white);
    background-image: url('../back_equipas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    display: flex;
    flex-direction: row;
    /* Sempre linha, mesmo em desktop se quiser, mas foco é mobile */
    align-items: center;
    gap: 15px;
    transition: transform 0.2s;
}

.equipa-card:hover {
    transform: translateY(-3px);
}

.equipa-logo {
    flex-shrink: 0;
}

.equipa-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
}

.equipa-content-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    /* Alinhado à esquerda como no desenho */
}

.equipa-info {
    margin-bottom: 8px;
    text-align: left;
}

.equipa-card h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.equipa-card p {
    color: #000;
    font-size: 0.9rem;
    margin: 0;
}

.equipa-actions {
    display: flex;
    gap: 10px;
}

.btn-link {
    font-size: 0.8rem;
    padding: 6px 15px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Custom color buttons will override via inline styles */
.btn-link[style*="--team-color"]:hover {
    background-color: var(--team-color) !important;
    color: var(--white) !important;
}

/* ===== ESTILOS PARA JOGOS ===== */
.jogo-item {
    background: var(--white);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.jogo-item:hover {
    transform: translateY(-3px);
}

/* Linha 1: Data, Hora, Campo */
.jogo-linha-1 {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--primary-color);
}

.jogo-data,
.jogo-hora {
    font-size: 0.9rem;
}

.jogo-campo {
    font-size: 0.85rem;
    margin-left: auto;
    background: var(--accent-color);
    padding: 3px 10px;
    border-radius: 12px;
    color: var(--text-color);
}

/* Linhas 2 e 3: Equipas */
.jogo-linha-equipa {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.jogo-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.jogo-logo-placeholder {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--bg-color);
    border-radius: 4px;
    flex-shrink: 0;
}

.jogo-equipa-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jogo-equipa-nome {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
}

.jogo-equipa-escalao {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.jogo-resultado {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.btn-info {
    border-color: #28a745;
    color: #28a745;
}

.btn-info:hover {
    background-color: #28a745;
    color: white;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.facebook-icon {
    color: #1877f2;
}

.facebook-icon:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
    transform: scale(1.1);
}

.instagram-icon {
    color: #e4405f;
}

.instagram-icon:hover {
    background-color: #e4405f;
    color: white;
    border-color: #e4405f;
    transform: scale(1.1);
}

.website-icon {
    color: #666;
}

.website-icon:hover {
    background-color: #666;
    color: white;
    border-color: #666;
    transform: scale(1.1);
}

/* Ajustes Mobile específicos se necessário, mas o layout acima já é responsive */
@media (max-width: 480px) {
    .equipa-card {
        padding: 10px;
    }

    .equipa-logo img {
        width: 60px;
        height: 60px;
    }

    .btn-link {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* Estilos para Jogos */
.jogo-item {
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 5px solid var(--primary-color);
}

.jogo-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.jogo-placar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.equipa-nome {
    flex: 1;
    text-align: center;
}

.placar {
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
}

.x {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Error message */
.error {
    color: red;
    background: #fee;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

/* Footer */

/* --- ADMIN PAINEL --- */
#admin-panel {
    width: 100%;
    /* Ocupar largura total disponível, alinhado com o menu/header */
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    /* Remove padding extra do container para alinhar com header */
}

.login-box {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ... (mantendo login-box input e admin-header inalterados se não precisar) ... */

/* Forms Admin */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
    /* Força largura total explicitamente */
}

/* Abas Content */
.tab-content,
.tab-pane {
    width: 100%;
    /* Garante que as abas ocupem tudo */
}

/* ... (inputs) ... */

/* Inputs do Admin - FORÇAR LARGURA TOTAL */
.admin-form input,
.admin-form select,
.admin-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    width: 100% !important;
    /* Força largura total */
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.admin-form .row {
    display: block !important;
    /* Simplifica para bloco */
    width: 100% !important;
    margin-bottom: 0;
}

.admin-form .row>* {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.btn-success {
    background: #388e3c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.error-msg {
    color: red;
    font-size: 0.9rem;
    text-align: center;
}

/* Admin Header Fix */
.admin-header h2 {
    margin-bottom: 0;
    /* Remove margem para alinhar com botão */
    border-bottom: none;
    /* Remove borda se desejar limpar */
}

/* Admin List Items (Card Style) */
.admin-list-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    /* Card style */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Sombra suave */
    padding: 15px;
    margin-bottom: 10px;
    /* Espaço entre cards */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.admin-list-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.admin-list-actions {
    display: flex;
    gap: 5px;
}

/* Mobile/Tablet adjustment for admin list */
@media (max-width: 600px) {
    .admin-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-list-actions {
        width: 100%;
        justify-content: flex-end;
        /* Botões à direita mas em linha nova */
        margin-top: 5px;
    }
}

/* --- DETALHES DA EQUIPA --- */
#equipa-header {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

#equipa-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0;
}

.equipa-header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#equipa-header h2 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.3rem;
    border: none;
}

#equipa-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Lista de Atletas (Mobile Friendly - Rectangular) */
.athlete-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.athlete-card {
    background: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border: 1px solid #eee;
}

.athlete-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #eee;
    margin-bottom: 0;
}

.athlete-card strong {
    color: var(--text-color);
    font-size: 1.1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

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

/* ===== OPINIÕES PAGE ===== */
.opiniao-form-container {
    max-width: 600px;
    margin: 0 auto 40px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

#opinioes-list {
    max-width: 800px;
    margin: 0 auto;
}

.opiniao-card {
    background: var(--white);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.opiniao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.opiniao-header strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.opiniao-date {
    color: #666;
    font-size: 0.85rem;
}

.opiniao-text {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .opiniao-form-container {
        padding: 15px;
    }

    .opiniao-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}