/* Menu Administrativo */
.admin-menu {
    width: 100%;
    background-color: #1a1b1e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 24px;
}

.admin-menu-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    border-right: 1px solid #303030;
    flex: 1;
}

.admin-menu-item:last-child {
    border-right: none;
}

.admin-menu-item:hover {
    background-color: #2d3748;
    transform: translateY(2px);
}

.admin-menu-item.active {
    background-color: #feaf50;
    color: #000;
}

.admin-menu-item.active i {
    color: #000;
}

.admin-menu-item i {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #feaf50;
    width: 20px;
    text-align: center;
}

.admin-menu-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .admin-menu {
        margin-bottom: 16px;
    }
    
    .admin-menu-item {
        padding: 12px;
        flex-direction: column;
        gap: 4px;
    }
    
    .admin-menu-item i {
        margin-right: 0;
        font-size: 1.4rem;
    }
    
    .admin-menu-item span {
        display: none;
    }
    
    .admin-menu-item:hover {
        transform: translateY(-2px);
    }
}

/* Estilos para a página de Status dos Jogadores */
.admin-status-container {
    background-color: #1a1b1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0px;
    width: 100%;
    overflow: hidden;
}

.admin-status-header {
    background-color: #2d3748;
    padding: 16px 24px;
    border-bottom: 1px solid #303030;
}

.admin-status-header h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.admin-status-content {
    padding: 24px;
}

.admin-status-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-status-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-status-filter label {
    color: #a0aec0;
    font-size: 0.9rem;
}

.admin-status-filter select {
    background-color: #252525;
    color: #e2e8f0;
    border: 1px solid #303030;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.admin-status-search input {
    background-color: #252525;
    color: #e2e8f0;
    border: 1px solid #303030;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
    width: 200px;
}

.admin-status-table {
    overflow-x: auto;
}

.admin-status-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-status-table th {
    background-color: #252525;
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #303030;
}

.admin-status-table td {
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-bottom: 1px solid #303030;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-completed {
    background-color: #4ade80;
    color: #000;
}

.status-in-progress {
    background-color: #feaf50;
    color: #000;
}

.status-not-started {
    background-color: #a0aec0;
    color: #000;
}

/* Estilos para os diferentes status do jogo */
.status-inscreveu-se {
    background-color: #a0aec0;
    color: #000;
}

.status-aguardando-resposta {
    background-color: #feaf50;
    color: #000;
}

.status-resposta-enviada {
    background-color: #fbbf24;
    color: #000;
}

.status-resposta-aprovada {
    background-color: #3b82f6;
    color: #000;
}

.status-aprendizado-enviado {
    background-color: #fbbf24;
    color: #000;
}

.status-aprendizado-aprovado {
    background-color: #34d399;
    color: #000;
}

.status-jogo-concluído {
    background-color: #4ade80;
    color: #000;
}

.status-desconhecido {
    background-color: #a0aec0;
    color: #000;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #252525;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: attr(data-progress);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background-color: #feaf50;
    border-radius: 4px;
    position: relative;
}

.progress-fill::after {
    content: attr(data-progress);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.action-button {
    background-color: #2d3748;
    color: #e2e8f0;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-button:hover {
    background-color: #4a5568;
}

/* Estilos para a página de Configurações */
.admin-settings-container {
    background-color: #1a1b1e;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 24px;
    overflow: hidden;
}

.admin-settings-header {
    background-color: #2d3748;
    padding: 16px 24px;
    border-bottom: 1px solid #303030;
}

.admin-settings-header h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.admin-settings-content {
    padding: 24px;
}

.admin-settings-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-settings-section {
    background-color: #252525;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #303030;
}

.admin-settings-section h3 {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #303030;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: #1a1b1e;
    color: #e2e8f0;
    border: 1px solid #303030;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 0.9rem;
}

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

.checkbox-label {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-left: 8px;
}

.admin-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
}

.cancel-button {
    background-color: #2d3748;
    color: #e2e8f0;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-button {
    background-color: #feaf50;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-button:hover {
    background-color: #4a5568;
}

.save-button:hover {
    background-color: #e09d45;
    transform: translateY(-2px);
}

/* Responsividade para as páginas de Status e Configurações */
@media (max-width: 768px) {
    .admin-status-container,
    .admin-settings-container {
        margin: 16px;
    }
    
    .admin-status-filters {
        flex-direction: column;
        gap: 12px;
    }
    
    .admin-status-filter,
    .admin-status-search {
        width: 100%;
    }
    
    .admin-status-search input {
        width: 100%;
    }
    
    .admin-status-table {
        overflow-x: auto;
    }
    
    .admin-settings-actions {
        flex-direction: column;
    }
    
    .cancel-button,
    .save-button {
        width: 100%;
    }
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-name {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.user-avatar-small {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos para a modal */
.modal-admin {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-admin-content {
    background-color: #1a1b1e;
    margin: 10% auto;
    padding: 0;
    border-radius: 8px;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-admin-header {
    background-color: #2d3748;
    padding: 16px 20px;
    border-bottom: 1px solid #303030;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-admin-header h3 {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.close-modal-admin {
    color: #a0aec0;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal-admin:hover {
    color: #e2e8f0;
}

.modal-admin-body {
    padding: 20px;
    color: #e2e8f0;
}

.player-name-display {
    font-weight: 600;
    margin-bottom: 16px;
    color: #feaf50;
}

.answer-content {
    background-color: #252525;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #303030;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.5;
}

.modal-admin-footer {
    padding: 16px 20px;
    border-top: 1px solid #303030;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-admin-footer button {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-button {
    background-color: #2d3748;
    color: #e2e8f0;
    border: none;
}

.cancel-button:hover {
    background-color: #4a5568;
}

.approve-button {
    background-color: #34d399;
    color: #000;
    border: none;
    font-weight: 600;
}

.approve-button:hover {
    background-color: #10b981;
    transform: translateY(-2px);
}

/* Responsividade para a modal */
@media (max-width: 768px) {
    .modal-admin-content {
        width: 90%;
        margin: 20% auto;
    }
    
    .modal-admin-body {
        padding: 16px;
    }
    
    .answer-content {
        max-height: 200px;
    }
} 