/* static/style.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff; /* Fundo do Site: BRANCO */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0;
    color: #333;
    min-height: 100vh; /* Para garantir o fundo branco em toda a tela */
}

/* --- CABEÇALHO E LOGO --- */
.header {
    width: 100%;
    max-width: 450px; /* Alinha com o container principal */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
/* --- INÍCIO DA MUDANÇA (Header do Produtor) --- */
.header .header-links {
    display: flex;
    gap: 10px; /* Espaço entre os botões */
}
/* --- FIM DA MUDANÇA --- */

.logo {
    max-width: 120px; /* Tamanho ajustável para a logo */
    height: auto;
}
.admin-link {
    color: #6a1870; /* Cor de destaque */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 10px;
    border: 1px solid #6a1870;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.admin-link:hover {
    background-color: #6a1870;
    color: white;
}


/* --- Estilos Comuns de Botão/AÇÃO (Cor de Destaque) --- */
button, .select-button {
    background-color: #6a1870; /* Cor de Destaque: Roxo */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.2s;
}
button:hover, .select-button:hover {
    background-color: #4c114f; /* Um pouco mais escuro no hover */
}
button:disabled, .select-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
input[type="text"], input[type="password"],
input[type="number"], input[type="email"],
input[type="tel"], select, textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    font-family: inherit;
    font-size: 0.95em;
}

/* --- Página Pública (index.html) e Containers --- */
.public-portal, .login-container, .uploader-container, .music-container {
    background-color: #f8f8f8; /* Fundo suave para os blocos */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Sombra mais suave */
    width: 400px; /* Reduzido levemente para um visual moderno */
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
.public-portal h1 {
    color: #6a1870; /* Título na cor de destaque */
}

/* --- Dashboard Específico (botões de play) --- */

/* *** (NOVA REGRA) Estilo para a barra de pesquisa *** */
#searchInput {
    width: 100%; /* Ocupa a largura do container */
    padding: 10px;
    box-sizing: border-box; /* Garante que o padding não quebre o layout */
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 0px; /* Espaço acima */
    margin-bottom: 15px; /* Espaço abaixo, antes do player */
    font-size: 0.95em;
}


/* Adiciona a barra de rolagem (scroll) à lista de músicas. */
#musicList {
    max-height: 300px; /* Altura máxima da lista. Ajuste este valor se precisar. */
    overflow-y: auto;  /* Adiciona a barra de scroll vertical APENAS se necessário */
    overflow-x: hidden; /* Garante que não haja scroll horizontal */
    text-align: left;  /* Alinha o conteúdo da lista à esquerda */
    margin-top: 20px; /* Espaço acima da lista */

    /* Estilização sutil para a caixa (opcional) */
    border: 1px solid #eee;
    background-color: #ffffff; /* Fundo branco para a lista */
    padding: 5px 10px;
    border-radius: 4px;
}


/* ===============================================
--- ### MUDANÇA (Layout da Lista de Músicas) ### ---
===============================================
*/
.music-item {
    display: flex;
    align-items: center; /* Alinha verticalmente o texto e o botão */
    padding: 10px 5px; /* Menos padding horizontal */
    border-bottom: 1px solid #eee; /* Adiciona um separador */
    margin-bottom: 5px;
    /* NOVO: Espaçamento entre os itens */
    gap: 10px;
}
.music-item:last-child {
    border-bottom: none; /* Remove a borda do último item */
}


.music-item .info {
    /* [Code] */
    order: 3;
    color: #999; /* Código mais sutil */
    flex-shrink: 0; /* Impede que o código encolha */
    font-weight: normal;
    font-size: 0.9em;
}

/* [Name] - Fica no meio */
.music-item > span:not(.info) {
    order: 2;
    margin-left: 0; /* Resetado (usa gap) */
    white-space: nowrap; /* Impede que o nome quebre a linha */
    overflow: hidden; /* Esconde o texto que transborda */
    text-overflow: ellipsis; /* Adiciona "..." no final de nomes longos */
    text-align: left; /* Garante que o texto comece da esquerda */
    flex-grow: 1; /* Faz o nome ocupar o espaço disponível */
    font-weight: 500;
}

/* [Play Button] - Vem primeiro */
.play-button {
    order: 1;
    background-color: transparent;
    color: #6a1870;
    width: 40px; /* Tamanho do botão */
    height: 40px; /* Tamanho do botão */
    margin: 0;
    padding: 0;
    font-size: 1.2em;

    border: none;
    border-radius: 50%; /* Deixa redondo */
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;

    /* *** NOVO: ESTILO DA IMAGEM *** */
    background-image: url('play.png'); /* Caminho para sua imagem */
    background-size: 40%; /* Ajuste o zoom da imagem */
    background-position: center;
    background-repeat: no-repeat;
}

/* *** NOVO: ESTADO "TOCANDO" *** */
.play-button.playing {
    background-image: url('pausa.png'); /* Caminho para sua imagem de pausa */
}


.play-button:hover {
    background-color: #f0e6f2; /* Fundo roxo bem claro no hover */
}
/* --- FIM DA MUDANÇA DA LISTA --- */

/* --- NOVO: Botão Aprovar Música (na lista) --- */
.approve-song-button {
    order: 5; /* Vem por último */
    width: auto; /* Tamanho automático */
    padding: 6px 12px;
    font-size: 0.85em;
    font-weight: bold;
    margin: 0;
    margin-left: auto; /* Joga para a direita, antes dos .info */

    background-color: #1a7f37; /* Verde */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}
.approve-song-button:hover {
    background-color: #135d28;
}
/* Estado Aprovado */
.approve-song-button.approved {
    background-color: #c92c2c; /* Vermelho */
}
.approve-song-button.approved:hover {
    background-color: #a02323;
}

/* NOVO: Estilo da linha inteira quando aprovada */
.music-item.approved-song-item {
    background-color: #f0fff4; /* Fundo levemente esverdeado */
}


/* --- Estilo para o novo botão Copiar --- */
.copy-button {
    width: auto; /* Largura automática */
    padding: 4px 10px; /* Menor que os outros botões */
    font-size: 0.85em;
    font-weight: bold;
    margin: 0;
    margin-left: 10px; /* Espaço entre o código e o botão */
    background-color: #6a1870; /* Cor de Destaque */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}
.copy-button:hover {
    background-color: #4c114f;
}

#status strong {
    color: #333;
    font-size: 1.1em;
}


/* --- Estilos para o Questionário --- */
.questionario-container {
    background-color: #f8f8f8;
    padding: 25px 35px; /* Mais padding lateral */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 600px; /* Mais largo que o login */
    max-width: 100%;
    text-align: left; /* Alinha o formulário à esquerda */
    margin-bottom: 20px;
}
.questionario-container h1 {
    text-align: center;
    color: #6a1870;
}
.questionario-container p {
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.95em;
    color: #555;
}
.questionario-container fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}
.questionario-container legend {
    padding: 0 10px;
    font-weight: bold;
    color: #6a1870;
    font-size: 1.1em;
}
.questionario-container .form-group {
    margin-bottom: 15px;
}
.questionario-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9em;
}
.questionario-container textarea {
    resize: vertical;
    min-height: 80px;
}
.hidden {
    display: none;
}


/* --- Estilos para o Navegador do Admin (dashboard.html) --- */
.admin-nav {
    width: 100%;
    max-width: 850px; /* Alinha com os containers */
    display: flex;
    justify-content: flex-end; /* Alinha à direita */
    margin-bottom: 10px;
}

.admin-link-nav {
    color: white;
    background-color: #6a1870;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.admin-link-nav:hover {
    background-color: #4c114f;
}


/* --- Estilos para a Página de Briefings (briefings.html) --- */
.briefing-container {
    background-color: #f8f8f8;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 800px; /* Mais largo */
    max-width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.briefing-container h1 {
    text-align: center;
    color: #6a1870;
}
.briefing-container p {
    text-align: center;
    font-size: 0.95em;
    color: #555;
    margin-bottom: 25px;
}
#briefing-header {
     max-width: 850px; /* Alinha com o container */
}


/* Estilos para o Card de Briefing (Accordion) */
.briefing-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s ease;
}
.briefing-card.expanded {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.briefing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}
.briefing-card.expanded .briefing-card-header {
     border-bottom-color: #eee;
}
.briefing-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #6a1870;
}
.briefing-date {
    font-size: 0.9em;
    color: #777;
}
.briefing-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fdfdfd;
}
.briefing-card-body.visible {
    max-height: 1000px; /* Altura máxima para animação */
    padding: 20px;
    transition: max-height 0.5s ease-in;
}
.briefing-card-body p {
    text-align: left;
    margin-bottom: 8px;
    font-size: 0.95em;
    line-height: 1.6;
}
.briefing-card-body p strong {
    color: #333;
    margin-right: 5px;
}
.form-status {
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    font-size: 0.95em;
}


/* ===============================================
--- NOVOS ESTILOS - ADMIN DESKTOP MODERNO ---
===============================================
*/

/* --- Configurações da Página Admin --- */
.admin-sidebar {
    display: none;
}
.admin-content {
    width: 100%; /* No mobile, o conteúdo toma 100% */
}
.admin-desktop-header {
    display: none;
}


/* --- Layout Desktop (Telas > 900px) --- */
@media (min-width: 900px) {

    /* 1. Reseta o 'body' para o layout desktop */
    body.admin-page-wrapper {
        display: flex;
        flex-direction: row; /* Alinha sidebar e conteúdo lado a lado */
        align-items: stretch; /* Estica ambos para 100% da altura */
        padding: 0; /* Remove o padding do mobile */

        /* ### MUDANÇA PRINCIPAL (Layout da Imagem) ### */
        background-color: #ffffff; /* Fundo BRANCO, não cinza */
    }

    /* 2. Mostra a Barra Lateral no Desktop */
    .admin-sidebar {
        display: flex;
        flex-direction: column;
        width: 240px;
        flex-shrink: 0; /* Impede que a sidebar encolha */
        background-color: #ffffff; /* Sidebar branca */
        border-right: 1px solid #e0e0e0; /* Borda divisória */
        padding: 25px;
        z-index: 10;
        /* Remove a sombra (box-shadow) para um look mais plano */
    }

    .logo-sidebar {
        width: 100px;
        margin-bottom: 30px;
        align-self: center; /* Centraliza horizontalmente na sidebar */
    }

    .admin-sidebar-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px; /* Espaço entre os links */
    }

    .admin-sidebar-nav li a {
        display: block;
        padding: 12px 15px;
        text-decoration: none;
        font-weight: 600;
        color: #555;
        border-radius: 6px;
        transition: background-color 0.2s, color 0.2s;
    }
    .admin-sidebar-nav li a:hover {
        background-color: #f5f5f5; /* Hover cinza claro */
        color: #333;
    }
    /* Link ativo */
    .admin-sidebar-nav li a.active {
        background-color: #6a1870;
        color: #ffffff;
    }

    /* Rodapé da Sidebar (Link de Sair) */
    .admin-sidebar-footer {
        margin-top: auto; /* Joga para o final */
    }
    .admin-sidebar-footer a {
        display: block;
        padding: 12px 15px;
        text-decoration: none;
        font-weight: 600;
        color: #999;
        border-radius: 6px;
        transition: background-color 0.2s, color 0.2s;
    }
    .admin-sidebar-footer a:hover {
        background-color: #f5f5f5;
        color: #333;
    }


    /* 3. Área de Conteúdo Principal no Desktop */
    .admin-content {
        flex-grow: 1; /* Ocupa o resto do espaço */
        padding: 40px; /* Mais espaçamento */
        overflow-y: auto; /* Permite scroll só no conteúdo */
        display: flex;
        flex-direction: column;
        align-items: stretch; /* Estica o conteúdo */
        gap: 20px; /* Espaço entre os containers */
    }

    /* 4. Oculta os cabeçalhos do Mobile no Desktop */
    .admin-mobile-header {
        display: none !important; /* Esconde .admin-nav e .header */
    }

    /* 5. ### REMOVIDO ###
       Os estilos de .admin-page-wrapper .uploader-container
       foram removidos. Não queremos mais cards no desktop.
    */

    /* ===============================================
    --- ### INÍCIO DOS NOVOS ESTILOS (Minimalista) ### ---
    ===============================================
    */

    /* O novo cabeçalho "Olá, Administrador!" */
    .admin-desktop-header {
        display: block; /* Mostra no desktop */
        width: 100%;
        max-width: 1100px; /* Largura máxima */
        margin: 0 0 20px 0; /* Alinhado à esquerda */
        text-align: left;
    }
    .admin-desktop-header h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #6a1870; /* Cor da imagem */
        margin-bottom: 5px;
    }

    /* Layout de grid para as ações (Upload e Links) */
    .dashboard-minimal-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        max-width: 1100px;
        width: 100%;
    }

    /* Estilo do botão "Enviar Música" (como na imagem) */
    .select-button-minimal {
        display: block; /* Ocupa a largura */
        background-color: #ffffff;
        color: #6a1870; /* Texto roxo */
        border: 1px solid #eee; /* Borda sutil */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Sombra suave */
        border-radius: 8px;
        padding: 20px; /* Botão alto */
        font-size: 1.2rem; /* Texto grande */
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        width: 100%;
        transition: all 0.2s ease;
    }
    .select-button-minimal:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    }

    /* Feedback do upload */
    .upload-feedback {
        margin-top: 20px;
        text-align: left;
    }
    .upload-feedback .file-label {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    /* O botão "Confirmar Envio" usa o estilo roxo padrão */
    .upload-feedback #uploadButton {
        width: 100%;
    }
    .upload-feedback #status {
        margin-top: 15px;
        font-weight: bold;
    }


    /* Seções de conteúdo (sem fundo, sem sombra) */
    .dashboard-section, .dashboard-section-full {
        background-color: transparent;
        box-shadow: none;
        padding: 0; /* Sem padding de card */
        text-align: left;
        max-width: 1100px; /* Largura máxima */
        width: 100%;
    }

    .dashboard-section h2, .dashboard-section-full h2 {
        font-size: 1.3rem;
        color: #333;
        margin-top: 0;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    /* Restaura o padding para a caixa de links */
    #links-section {
        background-color: #fdfdfd;
        border: 1px solid #eee;
        padding: 25px;
        border-radius: 8px;
    }

    /* Ajustes na lista de músicas */
    #music-list-section #searchInput {
        margin-top: 0;
    }
    #music-list-section #nowPlaying {
        text-align: left;
        margin-top: 15px;
        margin-bottom: 10px;
        font-weight: bold;
        color: #333;
    }
    #music-list-section #musicList {
        max-height: 450px; /* Mais altura */
        border: 1px solid #eee;
    }

    /* Remove o estilo de card dos briefings E produtores também */
    .admin-page-wrapper .briefing-container,
    .admin-page-wrapper .uploader-container,
    .admin-page-wrapper .music-container {
        width: 100%;
        max-width: 1100px;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }

    /* Devolve o estilo para a página de Briefings (que precisa ser um card) */
    body.admin-page-wrapper .briefing-container {
        background-color: #f8f8f8;
        padding: 25px 35px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        width: 800px;
    }
    /* Devolve o estilo para a página de Produtores (Criação) */
    body.admin-page-wrapper .uploader-container,
    body.admin-page-wrapper .music-container {
         background-color: #f8f8f8;
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        width: 500px;
    }


    /* --- NOVO: ESTILOS DOS CARDS DE ESTATÍSTICAS --- */
    /* (Copiado de reference.css e adaptado para o admin) */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        max-width: 1100px;
        width: 100%;
    }
    .stat-card {
        background-color: #ffffff;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid #eee;
        transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    }
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }
    .stat-card h2 {
        font-size: 3rem;
        font-weight: 700;
        color: #6a1870;
        margin: 0 0 5px 0;
        border-bottom: none; /* Remove borda do h2 */
    }
    .stat-card p {
        font-size: 1rem;
        font-weight: 400;
        color: #555;
        margin: 0;
    }
    .stat-card.primary {
        background: #6a1870;
    }
    .stat-card.primary h2,
    .stat-card.primary p {
        color: #ffffff;
    }
    /* --- FIM DOS ESTILOS DOS CARDS --- */

    /* ===============================================
    --- ### FIM DOS NOVOS ESTILOS (Minimalista) ### ---
    ===============================================
    */


} /* FIM do @media (min-width: 900px) */


.notification-dot {
    display: none; /* Escondido por padrão, JS controla a exibição */
    width: 8px;
    height: 8px;
    background-color: #6a1870; /* Cor roxa do admin */
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: -1px;
}

/* Animação de pulso */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(106, 24, 112, 0.7); /* Sombra roxa */
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(106, 24, 112, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(106, 24, 112, 0);
    }
}

/* --- Layout Desktop (Telas > 900px) --- */
@media (min-width: 900px) {

    .admin-sidebar-nav li a {
        position: relative;
    }

    /* Posiciona a notificação na sidebar do desktop */
    .admin-sidebar-nav li a .notification-dot {
        position: absolute; /* Posição absoluta relativa ao link <a> */
        right: 20px; /* Alinha à direita */
        top: 50%;
        transform: translateY(-50%); /* Centraliza verticalmente */
        margin-left: 0;
    }
}

/* *** NOVO ESTILO ADICIONADO *** */
.briefing-title .briefing-referrer {
    font-weight: normal;
    font-style: italic;
    color: #555;
    font-size: 0.9em;
}

/* --- NOVOS ESTILOS PARA APROVAÇÃO DE BRIEFING --- */
.briefing-title .briefing-referrer {
    font-weight: normal;
    font-style: italic;
    color: #555;
    font-size: 0.9em;
}
.briefing-card-body .approve-button {
    width: auto; /* Tamanho automático */
    padding: 8px 15px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 20px; /* Espaço acima */
    background-color: #1a7f37; /* Verde */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.briefing-card-body .approve-button:hover {
    background-color: #135d28;
}
.briefing-card-body .approve-button.approved {
    background-color: #c92c2c; /* Vermelho "Desfazer" */
}
.briefing-card-body .approve-button.approved:hover {
    background-color: #a02323;
}
.briefing-card.approved {
    background-color: #f0fff4; /* Fundo levemente esverdeado */
    border-color: #1a7f37;
}
.briefing-card.approved .briefing-card-header {
    background-color: #e6f7ec;
}

/* --- NOVOS ESTILOS PARA LISTA DE PRODUTORES --- */
#producerList {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #eee;
    background-color: #fdfdfd;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
}

.producer-item-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: background-color 0.2s, box-shadow 0.2s;
}
.producer-item-container:hover {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.producer-item-link {
    display: inline;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0;
    flex-grow: 1;
    padding: 12px 15px;
    text-decoration: none;
    font-weight: 600;
    color: var(--purple, #6a1870);
}
.producer-item-link:hover {
    background-color: transparent;
    box-shadow: none;
}

.delete-producer-btn {
    width: auto;
    background-color: #f0f0f0;
    color: #555;
    border: none;
    padding: 8px 12px;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 12px;
    margin-top: 0;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}
.delete-producer-btn:hover {
    background-color: #c92c2c;
    color: white;
}
.delete-producer-btn:disabled {
    background-color: #cccccc;
    color: #888;
}


/* Wrapper para o dashboard do produtor, que não usa
  a sidebar de admin.
*/
.producer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo */
    width: 100%;
    max-width: 1100px; /* Mesma largura do admin */
    padding: 20px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}
.stat-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.stat-card h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #6a1870;
    margin: 0 0 5px 0;
    border-bottom: none;
}
.stat-card p {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin: 0;
}
.stat-card.primary {
    background: #6a1870;
}
.stat-card.primary h2,
.stat-card.primary span,
.stat-card.primary p {
    color: #ffffff;
}

/* --- NOVOS ESTILOS (Página de Configurações) --- */
.manage-list-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    background-color: #fdfdfd;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    text-align: left;
}
.manage-list-subtitle {
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 5px;
}
.manage-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.manage-list-item:last-child {
    border-bottom: none;
}
.manage-list-item span {
    font-size: 0.95em;
    font-weight: 500;
    word-break: break-all;
}
.delete-item-btn {
    width: auto;
    background-color: #f0f0f0;
    color: #555;
    border: none;
    padding: 6px 10px;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 0;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}
.delete-item-btn:hover {
    background-color: #c92c2c;
    color: white;
}
.delete-item-btn:disabled {
    background-color: #cccccc;
    color: #888;
}

/* --- NOVOS ESTILOS (Página Dúvidas) --- */
.duvidas-container {
    background-color: #f8f8f8;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 900px; /* Mais largo para o conteúdo */
    text-align: left;
    margin-bottom: 20px;
}
.duvidas-container h1 {
    text-align: center;
    color: #6a1870;
    margin-bottom: 30px;
}
.duvidas-container h2 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.duvidas-container p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin-bottom: 20px;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.prompt-section {
    margin-top: 30px;
}
.prompt-content {
    background-color: #2d2d2d; /* Fundo escuro */
    color: #f1f1f1;
    border-radius: 8px;
    padding: 20px;
    max-height: 300px; /* Limite de altura */
    overflow: hidden; /* Esconde o resto */
    transition: max-height 0.3s ease-out;
}
.prompt-content.expanded {
    max-height: 2000px; /* Altura máxima para expansão */
    transition: max-height 0.5s ease-in;
}
.prompt-content pre, .prompt-content code {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap; /* Quebra a linha */
    word-break: break-all;
    font-size: 0.9em;
}

.prompt-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}
.toggle-prompt-btn {
    width: auto;
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #f0f0f0;
    color: #555;
    margin-top: 0;
}
.toggle-prompt-btn:hover {
    background-color: #e0e0e0;
}
.copy-button {
    width: auto;
    font-size: 0.9em;
    padding: 8px 15px;
    margin-top: 0;
    margin-left: 0;
}