/* =========================================
   ADMINISTRAÇÃO - TABELAS E RESPONSIVIDADE
========================================= */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th {
    text-align: left;
    padding: 15px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    font-size: 14px;
    text-transform: uppercase;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: #fff;
    vertical-align: middle;
}

/* --- O TRUQUE MÁGICO PARA TELEMÓVEIS --- */
@media (max-width: 900px) {
    .admin-table thead {
        display: none; /* Esconde os cabeçalhos no mobile */
    }
    
    .admin-table tbody tr {
        display: block;
        background: var(--bg-card);
        margin-bottom: 20px;
        border-radius: 12px;
        padding: 15px;
        border: 1px solid var(--border);
    }
    
    .admin-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
        text-align: right;
    }
    
    .admin-table td:last-child {
        border-bottom: none;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    /* Puxa o nome da coluna para a esquerda */
    .admin-table td::before {
        content: attr(data-label); /* Lê o nome que vamos pôr no HTML */
        color: var(--primary);
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
    }
}

.admin-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            text-align: left;
            background: var(--bg-card);
            border-radius: 8px;
            overflow: hidden;
        }

        .admin-table th,
        .admin-table td {
            padding: 15px;
            border-bottom: 1px solid var(--border);
            color: var(--text-light);
            font-size: 14px;
        }

        .admin-table th {
            background: var(--bg-input);
            font-weight: 600;
            color: var(--primary);
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 1px;
        }

        .admin-table tr:hover {
            background: rgba(0, 255, 204, 0.02);
        }

        .select-status {
            background: var(--bg-dark);
            color: #fff;
            border: 1px solid var(--border);
            padding: 8px;
            border-radius: 4px;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
        }

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